Page 1 of 1

Upgrade Mageia 3 to 4 (solved)

PostPosted: Mar 8th, '14, 23:11
by phil66
Trying to upgrade to Mageia 4 from Mageia 3

Updated apps from Mageia 3
Then used the following command in the console
Code: Select all
su
mgaapplet-upgrade-helper --new_distro_version=4


Getting the error "cannot be run in console mode"
After this command I have lost the use of software management
It will not open from menu or icon

Re: Upgrade Mageia 3 to 4

PostPosted: Mar 9th, '14, 21:28
by doktor5000
phil66 wrote:Then used the following command in the console
Code: Select all
Su
mgaapplet-upgrade-helper --new_distro_version=4


Getting the error "cannot be run in console mode"


Try again with su -
the - is essential if you want to run graphical apps as root.

Code: Select all
su -
mgaapplet-upgrade-helper --new_distro_version=4


Although I'd recommend doing it via urpmi.

Re: Upgrade Mageia 3 to 4

PostPosted: Mar 9th, '14, 22:57
by phil66
Doctor

I was able to upgrade 1482 packages using urpmi

Now I have another problem after suggested reboot I am unable to normally boot
This is a dual boot with grub on sda1 and Mageia on sdb1

I can boot into safemode using control D
Checked boot file in MCC and all items are the same as they were in Mageia 3
Grub boot display list Mageia on /dev/sdb1

Cannot open menu.lst from terminal error kwrite crashed (dbus-launch) to be typed to correct
dbus-launch file not found
menu.lst is owned by root and has rw permissions
chown ray:ray /boot/grub/menu.lst...operation not permitted

Re: Upgrade Mageia 3 to 4

PostPosted: Mar 9th, '14, 23:11
by doktor5000
phil66 wrote:Cannot open menu.lst from terminal error kwrite crashed (dbus-launch) to be typed to correct
dbus-launch file not found
menu.lst is owned by root and has rw permissions
chown ray:ray /boot/grub/menu.lst...operation not permitted


Did you try to run kwrite as root?
Why do you want to chown /boot/grub/menu.lst to your user?

If you can boot into safe mode, then it's probably an issue with some entry in fstab.
Best boot normally, and in the emergency shell do not press Ctrl+D, but run
Code: Select all
journalctl -xb > boot.txt
and then attach boot.txt file here.

And please have a look at https://wiki.mageia.org/en/Mageia_4_Err ... ade_Issues

Re: Upgrade Mageia 3 to 4

PostPosted: Mar 11th, '14, 10:36
by phil66
doktor Thanks for the help

Now able to boot normally
From the wiki link you gave me I had to delete "resume=" from menu.lst

Re: Upgrade Mageia 3 to 4

PostPosted: Mar 12th, '14, 08:06
by doktor5000
Please mark the thread accordingly by editing the topic of the first post and prefix it by [SOLVED], thanks