Havin_it Posted October 28, 2004 Report Share Posted October 28, 2004 Hi all, I'm now onto my 4th kernel, and it's getting a bit crowded with all the previous ones still there. I thought I'd get rid of all but the current and previous one, but only the kernels show up in urpme - no mention of the source packages. Can I just delete the older kernel-source directories? And if so, is it better to do before or after removing the kernels? Thx in advance. [moved from Installing Mandrake by spinynorman] Quote Link to comment Share on other sites More sharing options...
Guest anon Posted October 28, 2004 Report Share Posted October 28, 2004 Open a consol as su (root) and type rpm -qa | grep kernel This will list all kernels installed including kernel-source. Then just do rpm -e kernel_whatever. Do the same for kernel sources you don't want. "In what order?" it doesn't matter. If your not sure which kernel your using at the moment, type: uname -r Quote Link to comment Share on other sites More sharing options...
Havin_it Posted October 29, 2004 Author Report Share Posted October 29, 2004 Nope, the output is the same as urpme. Older sources that I have are not listed. It looks like the rpm system is corrupted. (Not the first time I've had problems with it.) Any advice on removing manually? Quote Link to comment Share on other sites More sharing options...
Havin_it Posted November 6, 2004 Author Report Share Posted November 6, 2004 ...anyone? I really don't have a clue how to proceed. Quote Link to comment Share on other sites More sharing options...
bvc Posted November 6, 2004 Report Share Posted November 6, 2004 (edited) you can just delete the dirs in /usr/src /lib/modules whatever is in /boot won't effect anything if the dirs in /lib/moduales arn't there. If you no which ones, you can just delete the old vmlinuz's, initrd's, System.map's and config's from /boot as well. then you can remove them from the booloader Edited November 6, 2004 by bvc Quote Link to comment Share on other sites More sharing options...
Havin_it Posted November 8, 2004 Author Report Share Posted November 8, 2004 Thanks! Just what I needed to hear. I wonder if the next kernel will show up... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.