This can't be a good idea... is the RPM "corrupt" when I change the config file? :-) Joshua On Mon, Jan 31, 2005 at 08:30:39AM -0800, Konstantin Kudin wrote: > Hi there, > > 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. > > Konstantin > > > > > __________________________________ > Do you Yahoo!? > The all-new My Yahoo! - Get yours free! > http://my.yahoo.com > > > _______________________________________________ > Yum mailing list > Yum@xxxxxxxxxxxxxxxxxxxx > https://lists.dulug.duke.edu/mailman/listinfo/yum -- Joshua Jensen joshua@xxxxxxxx "If God didn't want us to eat animals, why did he make them out of meat?"