Monday, November 6. 2006.deb files are ar archives, but ...Trackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
no longer works.... cant seem to recreate a deb file using ar anymore (can still extract one) aw well....
Yes, that's exactly what I meant. ;-)
You mean that it used to work BTW?
Any chance of updating this to include how one WOULD take those nasty little files and glue 'em back together w/o using ar so that the repository doesn't puke?
IIRC there is no real fix, the only thing you can do is use apt-ftparchive (or something like that) instead of the standard dpkg tool. I don't remember the details, it's been a while since I worked on this. Good luck! And if you figure this out, can you post it here as a comment? It seems that people end up on this page every now and then when they have this problem.
Not quite what I was looking for but I did manage this:
ar -x original.deb mkdir -p tmp/DEBIAN cd tmp tar -xzvpf ../data.tar.gz cd DEBIAN tar -xzvpf ../../control.tar.gz cp ../../debian-binary ./ # Make some tweak to preinst/postinst/etc... cd ../../ dpkg-deb -b tmp new.deb # new.deb should not cause the same complaints |
Calendar
What's the time?Dublin: 15:06:28
Mountain View: 07:06:28 What's the weather?
Last.fm stuffAccount name: Wilm0r Diesel Power (The Prodigy) 2008-08-31, 14:21 Breathe (The Prodigy) 2008-08-31, 14:15 Smack My Bitch Up (The Prodigy) 2008-08-31, 14:10 Ich will (Rammstein) 2008-08-31, 14:06
BlogrollRecent comments about Oxegen 2008 2008-07-17 16:49 Oxegen was a bit expensive but awesome. Irish people rock. update: Wilmer has details. about I *hate* jetlags 2008-06-06 10:27 Just wait until you go over to Google. Don't matter how har d you work, or what you do, yo u always gonna be in the hole. about *knock* *knock* from Mountain View 2008-05-27 16:08 I'm with you, I totally didn't get the comedic stylings of B rent Weinbach who was the dude opening for Kasper Haus [...] about .deb files are ar archives, but ... 2008-04-22 14:12 Not quite what I was looking f or but I did manage this: a r -x original.deb mkdir -p tm p/DEBIAN cd tmp tar -x [...] BitlBee newsBitlBee 1.2.2 fixes security bug Tuesday, August 26. 2008 MSN issues - resolved Thursday, July 31. 2008 MSN issues Wednesday, July 30. 2008 QuicksearchCategories |
|||||||||||||||||||||||||||||||||||||||||||||||||||||