.deb files are ar archives, but ...Monday, November 6. 2006Trackbacks
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 Add Comment
|
CalendarWhat's the time?
What's the weather?
What's playing?Pigs On The Wing 2 (Pink Floyd), 31. May 2009, 01:32 Sheep (Pink Floyd), 31. May 2009, 01:22 Pigs (Three Different Ones) (Pink Floyd), 31. May 2009, 01:10 Dogs (Pink Floyd), 31. May 2009, 00:53 6. June 2009, 21:47
BlogrollRecent comments2009-05-05 16:29
Heh, I was afraid of such gene
rosity already. ;o) I'll give
it another week if you don't m
ind.
Riverside->Verno [...]
2009-05-05 16:12
Vernon is only 50 odd miles fr
om here ;) Want me to pick it
up?
2009-02-13 13:47
Sure I'll try your image. It
is an NA 5.03.08 version right
? It'd be nice if you would p
ut together a tarball in [...]
2009-02-13 13:04
Oh yes, what you show there lo
oks quite similar to what I ge
t from the nftp tool. Problem
is, my detection code is [...]
2009-02-12 18:12
Sounds like you're working on
some of the same things that I
am.
Do you have to put the
router in a special mod [...]
BitlBee newsThe bugs we've been hunting Tuesday, September 16. 2008 BitlBee 1.2.3, unfortunately another important bugfix Sunday, September 7. 2008 BitlBee 1.2.2 fixes security bug Wednesday, August 27. 2008 QuicksearchCategories |
||||