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

Alexander Dalloz alexander.dalloz at uni-bielefeld.de
Sun Jan 11 01:49:14 UTC 2004


Am So, den 11.01.2004 schrieb Technical um 01:48:
> > On Fri, 09 Jan 2004 18:26:21 -0800, Bevan C. Bennett wrote:
> >
> >> > ail.mc[root at 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 at sojourn root]#
> >>
> >> Check if your rpm is good. It might be incomplete or corrupt.
> >> md5sum sendmail-8.12.10-1.1.1.i386.rpm
> >> 1787392cd6455978ba0181726d89842b  sendmail-8.12.10-1.1.1.i386.rpm
> >> ls -l sendmail-8.12.10-1.1.1.i386.rpm
> >> -rw-r--r--    1 root     root      1018439 Oct 29 13:39
> >> sendmail-8.12.10-1.1.1.i386.rpm
> >
> > Better:  rpm -K sendmail-8.12.10-1.1.1.i386.rpm
> > Or:      rpm -Kv sendmail-8.12.10-1.1.1.i386.rpm

[ snipped empty lines ]

> I got all my verification? what could be wrong?
> 
> [root at sojourn root]# rpm -Kv
> /var/spool/up2date/sendmail-8.12.10-1.1.1.i386.rpm
> /var/spool/up2date/sendmail-8.12.10-1.1.1.i386.rpm:
>     Header V3 DSA signature: OK, key ID 4f2a6fd2
>     Header SHA1 digest: OK (4028477248c4de198454c3a44c0625f6ff30b837)
>     MD5 digest: OK (f54f9654faef10c8f22aeba0d0a8b6e8)
>     V3 DSA signature: OK, key ID 4f2a6fd2

You followed my last more detailed advice to extract the specific file
from the sendmail rpm? If not please respect it. In the call at the top
of this mail you made an error.

Alexander


-- 
Alexander Dalloz | Enger, Germany
PGP key valid: made 13.07.1999
PGP fingerprint: 2307 88FD 2D41 038E 7416  14CD E197 6E88 ED69 5653





More information about the fedora-list mailing list