At Tue, 26 Jan 2010 18:20:23 +0100 CentOS mailing list <centos@xxxxxxxxxx> wrote: > > Robert Heller wrote: > > At Tue, 26 Jan 2010 08:31:02 -0800 CentOS mailing list<centos@xxxxxxxxxx> wrote: > >> > >> I get this error: > >> > >> No Packages marked for removal > > > > (Was anything else displayed, like maybe dependency issues?) > > > > rm /boot/*2.6.9-42* /boot/*2.6.9-55* > > > > will also work (but check in /boot/grub/grub.conf!). Maybe somehow > > > not sure that's a good idea... It might make sense *as a last resort*, partitularly if something odd happened -- I mentioned several: rpm -e might have failed somehow, a fresh reinstall without reformatting /boot, a backup/restore, etc. All of these could result in the kernels *appearing* to be 'installed', but not 'visible' to rpm/yum. In which case rpm/yum won't remove them. > > the OP just has tons of installed kernels, he has to uninstall the > superfluous packages - using rpm, not rm. YES, of course, unless rpm 'believes' that the kernels are NOT installed (not in rpm's database for some reason). > > > rpm -q kernel > will list all installed kernels > then keep the 2 or 3 most recent (including the currently running one, > this is a safety in case you can't boot the newer kernels) > > meaning, for each kernel except the ones you want to keep, do an rpm -e > or yum remove. > > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller@xxxxxxxxxxxx -- http://www.deepsoft.com/ModelRailroadSystem/ _______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos