Mail Archives: djgpp/1999/05/26/05:40:51
From: | mdruiter AT cs DOT vu DOT nl
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | unpacking .deb's
|
Date: | Wed, 26 May 99 10:56:52
|
Organization: | Fac. Wiskunde & Informatica, VU, Amsterdam
|
Lines: | 21
|
Message-ID: | <7igd0k$7pq@cs.vu.nl>
|
NNTP-Posting-Host: | galjas.cs.vu.nl
|
X-Sender: | mdruiter AT cs DOT vu DOT nl
|
User-Agent: | tin/pre-1.4-19990413 ("Endemoniada") (UNIX) (SunOS/5.5.1 (sun4u))
|
X-Poster-Key: | sha1:ua9I/gWzAzHJ/6ZFh/8BZ0tsc80=
|
Cancel-Lock: | sha1:zDX1eKugIPm4dvirfqIfORHc2sY=
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
I remember someone asking here for a way to unpack a Debian package
.deb file without LFNs. In ftp://alpha.gnu.org/hurd/debian/README, I
found an answer:
ar p /SOME/DIR/PACKAGE.deb data.tar.gz | tar -zxvpf -
I think, with DJGPP, it is better to do this in two steps:
ar p /SOME/DIR/PACKAGE.deb data.tar.gz > data.tgz
djtarx data.tgz
This allows auto-filename-conversion as built into djtar. Of course,
the key is the p option to `ar'.
Hope this is helpful to someone.
--
*Groeten, Michel*. _http://www.cs.vu.nl/~mdruiter_
____________
\ /====\ / "You know, Beavis, you need things that suck,
\/ \/ to have things that are cool", Butt-Head.
- Raw text -