Friday, October 28, 2011

YUM: was supposed to be removed but is not!

I was trying to update a Fedora15 server and got the dreaded error. The top recommended suggesting was the remove, rebuild and clean your yum database. But this wasn't working for me. A verbose run of the yum update didn't reveal much more of interest, except.
Warning: scriptlet or other non-fatal errors occurred during transaction.
Nothing in the logs either. My next course of action was to manually install the RPM files. These are usually located under /var/cache/yum/ but there was nothing there. Why weren't the RPM files getting stored? Then it hit me. The presto plugin uses Delta-RPMs to only download the sections of an RPM that differ from your installed ones. It's quite a nifty feature. But to get the RPM files I needed to disable it.

I think you can see where this is going. Disabling presto and delta-rpms caused yum update to work again. This may have been due to RPM itself being part of the updates. I'm going to re-enable presto again and see what happens next update.

No comments:

Post a Comment