Extract single file from SRPM?
turian_at_gmail.com
Date: 05/27/05
- Previous message: News Groupie: "Re: Fedora Core 3 and Mail"
- Next in thread: Nico Kadel-Garcia: "Re: Extract single file from SRPM?"
- Reply: Nico Kadel-Garcia: "Re: Extract single file from SRPM?"
- Reply: John Thompson: "Re: Extract single file from SRPM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 26 May 2005 16:12:55 -0700
How can I extract a single file from an SRPM?
Detailed story follows:
I am trying to install source RPM bprof-2.0beta-1.src.rpm from
http://rpmfind.net//linux/RPM/contrib/libc6/src/bprof-2.0beta-1.src.html
(Unfortunately, the binary has an archaic library dependency that I
cannot resolve.)
However, I get the following error message:
# rpm -Uvh bprof-2.0beta-1.src.rpm
1:bprof ###########################################
[100%]
error: unpacking of archive failed on file bprof-2.0beta-1.spec: cpio:
Archive file not in header
Now, the thing is, I don't need the .spec file.
I only want the .patch file:
# rpm -qpl bprof-2.0beta-1.src.rpm
bprof-2.0.patch
bprof-2.0beta.tar.gz
bprof-2.0beta-1.spec
So how can I extract just the single .patch file? Alternately, how can
I force RPM extraction? (I tried --force, but no luck.)
Thanks!
Joseph
- Previous message: News Groupie: "Re: Fedora Core 3 and Mail"
- Next in thread: Nico Kadel-Garcia: "Re: Extract single file from SRPM?"
- Reply: Nico Kadel-Garcia: "Re: Extract single file from SRPM?"
- Reply: John Thompson: "Re: Extract single file from SRPM?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|