|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On Wed, Apr 11, 2007 at 06:22:36PM +0200, Mathieu Malaterre wrote: > Hello there, <snip about manipulating deb files> > > Where is this cached .deb file that is being used when I call: > > $ dpkg -i svnyoungest_0.1_i386.deb > > thanks, > -- > Mathieu When you use apt-get or similar, the debs are downloaded in /var/cache/apt/archives. But if you use 'dpkg -i *.deb', this file is not stored in the above location, so there is no cached deb in this case. - -- | .''`. == Debian GNU/Linux == | my web site: | | : :' : The Universal |mysite.verizon.net/kevin.mark/| | `. `' Operating System | go to counter.li.org and | | `- http://www.debian.org/ | be counted! #238656 | | my keyserver: subkeys.pgp.net | my NPO: cfsg.org | |join the new debian-community.org to Debian! | |_______ Unless I ask to be CCd, assume I am subscribed _______| -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGHRwSv8UcC1qRZVMRArHgAJ4t/wG9iuiJlflidISSMyRB0MtIagCffmXm Yklx0a2yiwSqZXdqcILuXdY= =B4tL -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|