.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?Afx237 V7 (Aphex Twin), 11. June 2010, 00:57 Avril 14th (Aphex Twin), 11. June 2010, 00:55 Les jours tristes (instrumenta (Yann Tiersen), 11. June 2010, 00:51 J'y suis jamais all? (Yann Tiersen), 11. June 2010, 00:49 Comptine d'un autre ete: L'apr (Yann Tiersen), 11. June 2010, 00:47 Damage, Inc. (Dream Theater), 7. June 2010, 15:48 2. September 2010, 20:08
BlogrollRecent comments about edns-client-ip
2010-08-19 11:05
Hey. This weblog is not really
my primary forum to discuss t
his draft, but .. there's an i
mplementation running on [...]
about edns-client-ip
2010-08-18 20:24
Hey Wilmer, I thoroughly enjoy
reading your blog posts. how
is -02 coming along?
Cheers
,
Gino
about Gotta love Unix hacks...
2010-05-08 09:17
You're going to like this one:
Sed is a very powerful too
l. A simple sed statement may
turn a cat into cement. [...]
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 [...]
BitlBee newsFinally, a ui-fix dev snapshot Friday, August 6. 2010 ui-fix merged into mainline. Saturday, July 24. 2010 BitlBee 1.2.8 Sunday, July 4. 2010 QuicksearchCategories |
|||||||||||||||||||||||||||||||||||||||||||||||||||||