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

Bevan C. Bennett bevan at fulcrummicro.com
Sat Jan 10 02:26:21 UTC 2004


Technical wrote:
> what is top - post?
> 
> I still get the same problem
> 
> 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

top-posting is when you reply -above- the post rather than below it.
It makes it more difficult for people to follow the conversation.





More information about the fedora-list mailing list