how to remove packages from yum upgrade

Paul Howarth paul at city-fan.org
Fri Jan 27 15:55:10 UTC 2006


Ken Schutte wrote:
> After doing a fresh "everything" install of FC4, I tried a 'yum 
> upgrade', and got these errors,
> 
> ---> Package kernel.i686 0:2.6.14-1.1653_FC4 set to be installed
> --> Running transaction check
> Error: Unable to satisfy dependencies
> Error: Package dlm-kernel needs /lib/modules/2.6.14-1.1653_FC4, this is 
> not available.
> Error: Package cman-kernel needs /lib/modules/2.6.14-1.1653_FC4, this is 
> not available.
> Error: Package GFS-kernel needs /lib/modules/2.6.14-1.1653_FC4, this is 
> not available.
> Error: Package gnbd-kernel needs /lib/modules/2.6.14-1.1653_FC4, this is 
> not available.
> 
> This exact problem has been addressed here,
> https://www.redhat.com/archives/fedora-list/2006-January/msg01530.html
> and another long thread here,
> https://www.redhat.com/archives/fedora-list/2005-October/msg03542.html
> 
> and, as it suggested, I just removed those packages - which I don't 
> think I need,
> # yum remove dlm-kernel cman-kernel GFS-kernel gnbd-kernel
> 
> However, the upgrade didn't seem to finish because I still have a 
> 2.6.11-1.1369_FC4 kernel, and I thought it was upgrading me to 
> 0:2.6.14-1.1653_FC4, but stopped when these errors showed up.  If I try 
> 'yum upgrade' again after removing those, it eventually gets to these 
> same errors. (I also tried 'yum clean all' after the 'yum remove').
> 
> Do I need more than 'yum remove' to have it completely ignore these 
> packages next time I try to upgrade?

It looks like your "yum remove" didn't work. Which kernel packages are 
actually still installed?

$ rpm -qa '*kernel*'

Paul.




More information about the fedora-list mailing list