And there is also still a mixed MAG7 and 8 mirror setup (seems the guidelines from the MAG8 relase notes were not followed
https://wiki.mageia.org/en/Mageia_8_Release_Notes)
Remove your existing media setup:
- Code: Select all
urpmi.removemedia -a
Add a fresh set of MAG7 mirrors:
- Code: Select all
urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.7.$ARCH.list'
Clear cache:
- Code: Select all
urpmi --clean
Make sure in MCC that only the recommended medias are enabled according to
https://wiki.mageia.org/en/Install_media_in_Mageia_for_beginners#Default_media_enabled_automatically_and_optional_media_-_Mageia_.2864_bit.29. including the 32bit repos.
Update your MAG7:
- Code: Select all
urpmi --auto-update --auto --force
If you already get error messages after the last command, post the output here. Also post here the output from doktor5000s command If you have any error messages:
- Code: Select all
urpmi --auto-update --debug
If your MAG7 is actual without any error messages, you can procede now with upgrade to MAG8:
Remove your existing MAG7 media setup:
- Code: Select all
urpmi.removemedia -a
Add a fresh set of MAG8 mirrors:
- Code: Select all
urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.8.$ARCH.list'
If you want, you can do a testrun as already described in the release notes:
Please note!
It is often a good idea, when you have more than enough free disk space, to test the upgrade before carrying it out.
With this command: urpmi --auto-update --auto --force --download-all --test all the packages are downloaded and the 'upgrade' is only a simulation. This needs a lot of free space before starting the test - like more than 2GB free space on /var partition (/ if you have no /var). (If you have several large desktops and many programs you may need more - if only a lightweight desktop, less.) If you have space on another partition, you can specify the destination of downloaded files by adding a path pointing to this partition after the --download-all keyword.
If the result is good, then upgrade for real with the command urpmi --auto-update --auto --force --download-all (same but without --test). Add also the path of downloaded files if specified previously.
If the result is not good, restore the Mageia 7 repositories with urpmi.removemedia -a and urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.7.$ARCH.list' like above, and clean the cache by issuing urpmi --clean.
If the test is without any errors, do the upgrade:
- Code: Select all
urpmi --auto-update --auto --force
It's best to run the above command twice because in the first run some packages may be downloaded but not installed.