Page 1 of 1

Lost my gui after removing a package

PostPosted: Mar 31st, '23, 07:51
by kankush421
Lost my GUI in mageia 5 .
Getting this message
Any suggestion how to get back my gui ??

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 09:55
by sturmvogel
https://www.mageia.org/en-gb/support/

Mageia 5 was supported until December 31st, 2017.

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 12:11
by kankush421
So it can't be resolved ??

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 12:40
by Germ
Mageia 5 hasn't been supported in years, but that message tells you what to do. Press the enter key and it should take you to a login prompt. Log in as root and then run drakx11 and configure your display. If that doesn't work, what package exactly did you remove?

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 12:44
by kankush421
I did the procedure but it didn't work , I'm not sure about the package . Even I'm not able to update the system by urpmi update -a

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 16:25
by Germ
Download the Mageia 8 ISO and upgrade you machine.

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 16:57
by doktor5000
kankush421 wrote:Even I'm not able to update the system by urpmi update -a

Yes because the unsupported release repositories have been archived since quite some time.

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 17:35
by sturmvogel
Germ wrote:Download the Mageia 8 ISO and upgrade you machine.

This wont work, as a direct upgrade to MGA8 is only possible from MGA7. He need to do a fresh installation. If a seperate /home is existing, he "may " have some luck but most settings will be incompatible as the version steps are to big.

This is also described in the wiki:
This page deals with the different ways to upgrade a Mageia operating system from version n to n+1 (It is not possible to upgrade to a version number beyond n+1).The upgrade procedure is different from a simple packages update.

https://wiki.mageia.org/en/How_to_choos ... ade_method



There is some hope left, as all tier 1 mirrors keep an archive directory of old releases beginning from MGA1. So it should be possible to get an MGA5 ISO, burn it, and "update" the broken installation. After that a complete backup of all important data is recommended and afterwards an installation of a supported MGA version...

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 19:41
by bluepanther69
what package did you delete?

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 19:56
by sturmvogel
bluepanther69 wrote:what package did you delete?


uhm, yeah...

kankush421 wrote:I'm not sure about the package

Re: Lost my gui after removing a package

PostPosted: Mar 31st, '23, 23:37
by artenox
Repositories of older releases are stored here:
https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia-archive/distrib/5/
ISO here:
https://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia-archive/iso/5.1/
Log in to the console as your user and type the command startx

Re: Lost my gui after removing a package

PostPosted: Apr 1st, '23, 08:35
by sturmvogel
artenox wrote:Log in to the console as your user and type the command startx

Uhm, yeah….no! The message shows clearly that no graphic display is configured. So it is not possible to startx :roll:

Re: Lost my gui after removing a package

PostPosted: Apr 1st, '23, 12:15
by morgano
I would suggest to install Mageia 8 fresh (or even Mageia 9), keeping home, but creating a fresh user (different UID than the one present)

When the new installation is OK, then move old user files, including setting ownership.

Consider putting in a fresh SSD drive instead of the old, then install to that, then connect the old and copy user files files.

Re: Lost my gui after removing a package

PostPosted: Apr 3rd, '23, 20:47
by bluepanther69
sturmvogel wrote:
bluepanther69 wrote:what package did you delete?


uhm, yeah...

kankush421 wrote:I'm not sure about the package

could you get off your pony mr sturmvogel?
The sentence "not sure about the package" could refer to the display package (not being aware of which specific package was removed along with the main package), or to the main package he removed (if he was deleting stuff he might have typed some command to specifically remove a particular program, don't you think it could give us a hint of the dependencies that were removed?).

Re: Lost my gui after removing a package

PostPosted: Apr 3rd, '23, 21:59
by sturmvogel
Do you believe it yourself? If the poster would know which packages where removed, he would ask: how do i get the internet connection up and the packages reinstalled via command line...no?

And a way to repair the heavily outdated MGA5 installation was already given:
sturmvogel wrote: So it should be possible to get an MGA5 ISO, burn it, and "update" the broken installation. After that a complete backup of all important data is recommended and afterwards an installation of a supported MGA version...