[95184] in RedHat Linux List
Re: Doh! I deleted rpm!
daemon@ATHENA.MIT.EDU (John H Darrah)
Thu Oct 15 19:18:57 1998
Date: Thu, 15 Oct 1998 16:18:55 -0700 (PDT)
From: John H Darrah <jhd@giddens.com>
To: Redhat-List <redhat-list@redhat.com>
In-Reply-To: <36267882.28AF20E3@nsmail.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
On Thu, 15 Oct 1998, Timothy King wrote:
> I accidently deleted rpm. I thought, no problem, I'll rebuild rpm from
> the sources on my #2 CD. But... the sources are in rpm format! Where
> can I find a tarball of rpm? Is there some way I can extract sources
> from the rpm?
>
Well, if you didn't delete rpm2cpio also, you can
do the following:
rpm2cpio rpm-x.x.x.x.rpm | cpio -ivd
and it will give you the tarball.
If you want to see the contents first do this:
rpm2cpio rpm-x.x.x.x.rpm | cpio -it
--
John Darrah (u05192) | Dept: N/C Programming
Giddens Industries | Ph: (425) 353-0405 #229
PO box 3190 | Ph: (206) 767-4212 #229
Everett WA 98203 | Fx: (206) 764-9639
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.