Many users reported critical issues when upgrading complex systems to Mageia 6, especially using KDE4, NVIDIA proprietary drivers, and/or third-party packages. Such issues can be package conflicts that prevent the upgrade from finishing properly, leaving the system in a hybrid state that may not properly survive a reboot, or they can be drivers issues that lead to the graphical X.org server failing to initialize itself, landing users on a terminal instead of the desktop environment. Here are our recommendations for upgrading to Mageia 6.
Upgrading with a clean installation
When possible, we recommend that Mageia 5 users do a clean install of Mageia 6 on a different partition (thus keeping both systems next to each other), and copy the relevant parts of their Mageia 5 configuration (data and some hidden folders in your /home) onto the new system. It should also work fine to reuse the same /home partition if it's separate from the root partition. You can even use the same username and UID (user identifier), but keep in mind that systems upgraded from older Mageia releases might still have user IDs starting at 500, while Mageia 6 will work better when user IDs starts at 1000.
If you don't have enough space for a new root partition, you will then reuse the root partition of your actual system and formatting it. It could be interesting to have a backup of it to be able to restore it if something went wrong.
Upgrading from the running system
(from Mageia_6_Errata) If you don't follow our previous recommendations, you can try to upgrade from the MCC or from a console.
Large or complex upgrades may fail "transactions failed" before finishing, notably citing package conflicts or missing dependencies. This is partly due to the upgrade proceeding as grouped transactions which depend on later ones; and also to the fact that most upgrade packages exist on the upgrade media, others in online media. The following notes should get you through. They are based on an upgrade from Mageia 5 with over 4600 packages.
- Update Mageia 5
- Run the upgrade using the Mageia-6-[arch]-DVD.iso
- Add supplemental media (ftp, http, other)
- If|when Conflict is presented, when taken back to 'supplemental media'
DO NOT ADD any media, leave it set as None.
- As long as the conflicting rpms ARE NOT included in the iso then the upgrade will now complete successfully.
After rebooting to Mga6 user will still need to install any rpms skipped during the upgrade.
- add Mga6 Mirror (dont forget to add 32-bit mirrors if you also had them active in a Mageia 5 64-bit installation)
- run 'urpmi --auto-select' and at y/n select n
- Make note of the number of rpms which needed to be installed
- run urpmi --auto-select --split-length (noted # of rpms)
- all rpms should install and system is fully updated