Link to home
Start Free TrialLog in
Avatar of jbfstplk
jbfstplk

asked on

Fedora Core 4 versions

Some how I have upgraded my FC 4 to have FC 2.6.15-1.1831,  FC4, FC 2.14.1.1656 and FC 11.1.1369 (as well as Win XP in grub.config) and I don't know why all the Linux stuff is in there.  I can edit the grub.config file but why does each update simply add another OS and not delete the older one?  I'm sorry I don't have any more points for you guys.

Joe
Avatar of slow1000
slow1000

It's a precaution.  A new kernel might not work, so the previous kernel is left installed.

You can use
rpm -qa|grep kernel

to list installed kernels, then use
kernel -e kernel-package-names

to delete those you no longer need.
Avatar of rindi
As far as I know, only the last 3 versions are kept, the older ones will be removed from the grub.conf file.
Avatar of jbfstplk

ASKER

slow1000, thanks for the suggestion, except, even logged in as root, the commands do not run in terminal.  Is there something I'm missing?

Joe
Not sure, but my second command to delete kernels, should read
rpm -e kernel_package_names

Is rpm working at all?  You could just run "rpm" to see if it complains about options.  If you can't get rpm to run at all, then that's odd.
Yes, rpm runs and has a lot of complicated info.   Obviously -e means to erase something, but I really don't know how to specify the oldest kernel.  I tried to erase FC 2.6.11-1.1369_FC4 but got an error message, "error: package kernel_FC is not installed" and "error: package 2.6.11-1.1369_FC4 is not installed"
What does this mean?

ASKER CERTIFIED SOLUTION
Avatar of slow1000
slow1000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks much!

It's odd however that the running of the command took 20 to 30 seconds, and had no written response, but a reboot showed that the 2.6.11-1 version was no longer available.

It makes sense that a space follows rpm and the -e for erase and then the file name without spaces.

Keep up the good work!
Glad to help.

Sam