Upgrade Mageia 3 to 4 (solved)

Trying to upgrade to Mageia 4 from Mageia 3
Updated apps from Mageia 3
Then used the following command in the console
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
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