Hello there,

 I have been following the tutorial from:
http://www.debian-administration.org/articles/337

 In the end I have a file:
svnyoungest_0.1_i386.deb

 Now for the fun part ! I then extract everybody:

 ar x svnyoungest_0.1_i386.deb

(creates debian-binary, control.tar.gz and data.tar.gz), which I then repackage:

 ar r svnyoungest_0.1_i386.deb debian-binary control.tar.gz data.tar.gz

The very first time I get:

$ dpkg -i svnyoungest_0.1_i386.deb
dpkg-deb: file `svnyoungest_0.1_i386.deb' is not a debian binary
archive (try dpkg-split?)
dpkg: error processing svnyoungest_0.1_i386.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
svnyoungest_0.1_i386.deb


After some googling around I found out I need to replace the trailing
/ of each filename with space (using hexedit). Now the package works:

$  dpkg -i svnyoungest_0.1_i386.deb
Selecting previously deselected package svnyoungest.
(Reading database ... 100969 files and directories currently installed.)
Unpacking svnyoungest (from svnyoungest_0.1_i386.deb) ...
Setting up svnyoungest (0.1) ...


The trouble here is that I cannot reproduce my initial bug anymore. I
have tried a couple of things to clean the cache:

apt-get clean
apt-get autoclean
apt-get --purge remove svnyoungest

No luck, I cannot reproduce my initial problem...

Where is this cached .deb file that is being used when I call:

$  dpkg -i svnyoungest_0.1_i386.deb

thanks,
--
Mathieu


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to