[Yum] Suggested feature - fix corrupted rpms
konstantin_kudin at yahoo.com
Mon Jan 31 16:30:39 UTC 2005
Recently I had some files on the system disk disappear due to bad
blocks. The rpm database, on the other hand, was OK. So by hand I
downloaded the packages that were corrupted, and upgraded them (rpm
-Uvh --force $packagename).
It would be nice to have an option in yum to check for corrupted
installed packages, and upgrade them to whatever version is available
from the repository. The unavailable packages could be printed out as a
list for user to fix manually from other sources.
More specifically, "rpm -aq" produces the list of all packages, "rpm
-V $packagename" tells if a given package is OK. So yum could carry out
this procedure for each installed package, and upgrade it if it is
corrupted. Of course, this assumes that yum itself can function.
Do you Yahoo!?
The all-new My Yahoo! - Get yours free!
More information about the Yum