Re: How can i use rpm to retrive a specific file from a package?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I cannot get ti to work; what am I doing wrong; here is the output

[root@sojourn root]# rpm2cpio
/var/spool/up2date/sendmail-8.12.10-1.1.1.i386.rpm | cpio -ivd /etc/mail/
sendmail.mc
4574 blocks
cpio: premature end of archive
[root@sojourn root]#




> Am Sa, den 10.01.2004 schrieb Felipe Alfaro Solana um 00:20:
>> On Fri, 2004-01-09 at 23:14, Alexander Dalloz wrote:
>> > Am Fr, den 09.01.2004 schrieb Technical um 23:07:
>> > > I want to recover the sendmail.mc file from the sendmail package.
>> How can
>> > > I get rpm to just give me that one file.  Thanks in advance
>> >
>> > cpio2rpm sendmail.rpm | cpio -t   --> lists contents, maybe with path
>>
>> I think you meant:
>>
>> rpm2cpio sendmail.rpm | cpio -t
>>
>> > cpio2rpm sendmail.rpm | cpio -ivd FILE
>>
>> Again:
>>
>> rpm2cpio sendmail.rpm | cpio -ivd FILE
>
> Felipe! Goosh - you are so right :)
>
> It is exactly rpm2cpio. Sorry if I confused anyone.
>
> Alexander
>
>
> --
> Alexander Dalloz | Enger, Germany
> PGP key valid: made 13.07.1999
> PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653
>
>
> --
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
>




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux