[Yum] Re: yum install -force package

seth vidal skvidal at phy.duke.edu
Thu Oct 7 20:25:27 UTC 2004


On Thu, 2004-10-07 at 16:20, Olaf Olson wrote:
> Garrick,
> 
> Thanks for your assistance.
> 
> I should have told you all of the story, before asking for advice, 
> however, instead of trying to avoid the embarrassment of what I have done.
> 
> I had a power surge, which knocked out portions of my installation 
> (Yellow Dog Linux, 3.0.1, on a PPC, G3 B&W). I managed to recover a 
> great deal of my installation, but, improper backups resulted in only a 
> partial restore. I had used yum to upgrade the kernel from 2.4.22-2a to 
> 2.4.22-2g. Unfortunately, my restore brought back the 2a image. I can't 
> use yum to reinstall the 2g kernel, because yum still believes I have 
> it. In reality, of course, the kernel isn't there and still needs all of 
> the simple attention and automatic configuration that yum so easily 
> provides.
> 
> So... what I am really looking for, I guess, is a way to whack yum on 
> the head so that it gets partial amnesia and forgets that I ever managed 
> to update the kernel. Is there a way to do that??
> 

So you're not running the 2.4.22-2g kernel but the rpmdb thinks it has
it.

okay
rpm -e kernel-2.4.22-2g

and then yum update kernel

-sv





More information about the Yum mailing list