RagingRaven wrote:I'm guessing I could do this with urpme, but I'm not really sure what the older/oldest kernels are called?
You seem to have removed already sufficient older kernels for the upgrade to complete, but anyways:
- Code: Select all
rpm -qa | grep ^kernel | sort -V
Will show you all the installed kernels including their version number. Version number is compared alphanumerically, from left to right.
Higher number, higher version. Letters are "higher" then numbers.
- Code: Select all
┌─[doktor5000@Mageia5]─[20:13:27]─[~]
└──╼ rpm -qa | grep ^kernel | sort -V
kernel-desktop-3.19.3-1.mga5-1-1.mga5
kernel-desktop-3.19.4-1.mga5-1-1.mga5
kernel-desktop-3.19.4-2.mga5-1-1.mga5
kernel-desktop-3.19.6-1.mga5-1-1.mga5
kernel-desktop-3.19.6-2.mga5-1-1.mga5
kernel-desktop-3.19.7-1.mga5-1-1.mga5
kernel-desktop-3.19.8-1.mga5-1-1.mga5
kernel-desktop-3.19.8-2.mga5-1-1.mga5
kernel-desktop-3.19.8-3.mga5-1-1.mga5
kernel-desktop-devel-3.19.3-1.mga5-1-1.mga5
kernel-desktop-devel-3.19.4-1.mga5-1-1.mga5
kernel-desktop-devel-3.19.4-2.mga5-1-1.mga5
kernel-desktop-devel-3.19.6-1.mga5-1-1.mga5
kernel-desktop-devel-3.19.6-2.mga5-1-1.mga5
kernel-desktop-devel-3.19.7-1.mga5-1-1.mga5
kernel-desktop-devel-3.19.8-1.mga5-1-1.mga5
kernel-desktop-devel-3.19.8-2.mga5-1-1.mga5
kernel-desktop-devel-3.19.8-3.mga5-1-1.mga5
kernel-desktop-devel-latest-3.19.8-3.mga5
kernel-desktop-latest-3.19.8-3.mga5
kernel-firmware-20150309-1.mga5
kernel-firmware-nonfree-20150510-1.mga5.nonfree
kernel-userspace-headers-3.19.8-3.mga5
Also the -latest metapackages will tell you the version number of the newest installed kernel
- although you need to pay attention that it won't tell you if you already booted from that kernel, e.g. if you've not rebooted since you installed last kernel update.
uname -r will show you the version of the currently running kernel
You can simply uninstall some of the older kernel packages.
You shall NOT remove the -latest packages, kernel-firmware* or kernel-userspace-headers packagesHope that helps, if something is still unclear just ask.
RagingRaven wrote:By the way in the 'Please note!' section it says to test with 'urpmi --replacefiles --auto-update --auto --download-all --test' and if everything looks ok install with the same command: 'urpmi --replacefiles --auto-update --auto --download-all --test', but I'm guessing to actually install I would have to remove the --test part?
Good catch, and yes - I've adjusted that. FWIW, you could also have corrected that, don't be afraid

It's a wiki, and the important pages are under watch, so "wrong" edits will usually be corrected pretty quickly.
RagingRaven wrote:a few question I have left:
Can/should I run 'urpme --auto-orphans' as the last output from the upgrade said there were a lot of orphans.
No, better not. Please post the output of urpmq --auto-orphans here and we can go through it.
For the dangers in running urpme --auto-orphans please
carefully read through
https://wiki.mageia.org/en/Removing_packagesA better method of "cleaning up" is using
urpmq --not-available, which will show all
packages that are not available from the currently configured repos. This will usually show up
old libraries, or 3rd party packages and such. But better enable the nonfree and tainted repos before you do that

RagingRaven wrote:After upgrading I got a notification saying there was a new version of Mageia distribution, does that mean something went wrong? Should I ignore that message or should I follow that wizard just to make sure everything went ok?
Is there any point in keeping 1-2 mga4 kernels or won't they work at all? Same question for any other mga4 packages.
For the upgrade notification, that is weird. Did you run
- Code: Select all
urpmi --auto-update
after the upgrade again?
Please also post the content of your
/etc/product.idYou can keep 1 or 2 mga4 kernels, but if the mga5 kernels work, there's not much point in that, better run later kernels.
But all the other mga4 packages should be kept, as not all of them have been rebuilt for mga5, some for technical reasons.
Better stick to the hint above with urpmq --not-available as that will also cover all those mga4 packages which are not available from the current repos.