.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
|
Calendar
What's the time?
What's the weather?
What's playing?Dark Corners (Bozzio Levin Stevens), 11. March 2010, 23:08 The Sun Road (Bozzio Levin Stevens), 11. March 2010, 22:51 Song 2 (Blur), 11. March 2010, 11:18 Engine No. 9 (Deftones), 11. March 2010, 11:15 Birthmark (Deftones), 11. March 2010, 11:10 7 Words (Deftones), 11. March 2010, 11:07 11. March 2010, 23:08
BlogrollRecent comments about spamass-milter and IPv6
2010-02-01 09:57
But that's just because you gu
ys are sitting on the last /8s
of the IPv4 address space! :-
P
I don't have native [...]
about spamass-milter and IPv6
2010-02-01 01:26
They have IPv6 in Ireland? Je
ez. Over here in Richistan, w
e're still using good 'ol v4 w
ith overpriced DOCSIS mo [...]
about Google Public DNS
2009-12-08 18:07
Jeez. Good to know there's st
ill engineers out there doing
real work. I thought the enti
re computer industry had [...]
about Google Public DNS
2009-12-07 22:48
Yeah, it was my 20% project to
prove that Go's an awesome la
nguage. While BIND (written in
C) can only serve 1000 [...]
BitlBee newsim.bitlbee.org troubles again. Twitter account created. Tuesday, November 17. 2009 im.bitlbee.org is having issues Monday, November 2. 2009 BitlBee 1.2.4, finally. Saturday, October 17. 2009 QuicksearchCategories |
|||||||||||||||||||||||||||||||||||||||||||||||||||||