[CentOS] RPM: any better way to reinstall only certain files? [(UN?)SOLVED]

William L. Maltby BillsCentOS at triad.rr.com
Thu Jul 13 12:08:50 UTC 2006


On Thu, 2006-07-13 at 03:42 +0200, maze at cela.pl wrote:
> Did you try rpm --replacepkgs --oldpackage?
No. Frankly, even though I read the man page again before starting the
trek, I missed it entirely. However, even had I spotted it, it *might*
have scared me off because ...

   --oldpackage
     Allow  an upgrade to replace a newer package with an older one.

This would have nailed me if I didn't get the right package. I did
manage to pull one older version by mistake (by habitually pulling from
base repository and not noticing that the package was a older one than
what I had, from Extras repository). Fortunately, cpio "Did the Right
Thing" (TM) and saved my butt because I had avoided the (u)nconditional
flag. It forced me to investigate and correct without waiting for
another "rpm --verify" to spot my error.

But in the future, I will give it a try.

> 
> Cheers,
> 
> MaZe.
> <snip sig stuff>

Thanks.
-- 
Bill
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20060713/08fb3e8b/attachment.sig>


More information about the CentOS mailing list