How To Upgrade Mageia 4 to Mageia 5 In VBox using the CLI
As you well know Mageia is now Mageia 5.
So if you still have Mageia 4 in Virtual Box installed here's how to upgrade to Mageia 5 using the command-line. This took about an hour and ten minutes on my CentOS box but that's with WiFi. All commands should be executed as root. I issued su instead of sudo and didn't have any problems running the necessary commands. Step 1 Code:
urpmi --auto-update --auto -v Code:
urpmi.removemedia -av Code:
urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.5.i586.list' Step 4 Code:
urpmi --replacefiles --auto-update --auto -v Code:
shutdown -r now Here is the page I followed to upgrade to Mageia 5 in VBox in this link. http://maximumhoyt.com/ It worked for me and the new Mageia 5 in VBox runs great. |
Is this for 32-bit or 64-bit systems?
|
The only difference between upgrading 32bit and 64bit Mageia guests is in Step 3. The command quoted is for 32bit; for 64bit change "i586" near the end of the command to "x86_64".
Jim |
Quote:
For whatever the reason I can not run a 64-bit guest in VBox on this 64-bit machine. I think it may be a graphical acceleration issue. |
Quote:
Code:
urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.5.x86_64.list' |
Thank you both. I thought that looked like a 32-bit command string.
I'll try the 64-bit on my Magiea box tomorrow if I work up the nerve.:) |
Quote:
|
Quote:
https://wiki.mageia.org/en/Mageia_5_...rpmi_.28CLI.29 Jim |
Quote:
There's no doubt now. |
I finally got around to upgrading my Mageia v. 4 to v. 5. I knew there was an automated way to do it, because I'd used it to upgrade from v. 3 to v. 4, but that was well over a year ago.
I used this command from within the GUI: Code:
su |
Quote:
How long did the upgrade take? |
A couple of hours or maybe a little more. I went downstairs for dinner . . . .
Of course, this was to bare metal and I have lots of programs installed on this machine. |
Quote:
Enjoy your new Mangeia frankbell.-:) |
All times are GMT -5. The time now is 03:10 PM. |