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]

 



Am Sa, den 10.01.2004 schrieb Technical um 15:51:
> > Technical wrote:
> >> what is top - post?
> >>
> >> I still get the same problem
> >>
> >> ail.mc[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]#
> >
> > 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.
> >
> >
> > --
> > fedora-list mailing list
> > fedora-list@xxxxxxxxxx
> > To unsubscribe: http://www.redhat.com/mailman/listinfo/fedora-list
> >
> 
> If the checksum of my package si the same as the original, does that mean
> that the packet is not corrupt??

md5sum is not a very secure proof for a valid, not corrupted package.
But normally you can trust a match with a reliable source.

You can also run: rpm -Uvh --test sendmail-8.12.10-1.1.1.i386.rpm. If
that does not fail with blaming for damage, maybe just complaining that
the package is already installed, the rpm should be fine.

Alexander


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




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

  Powered by Linux