How to reinstall broken Ubuntu (16.04) GUI and purging all the related libraries, and the packages installed from the sources related to the GUI ?
list of the installed packages
I was able to retrieve the "dpkg log" for the 3.28.1 in this pastebin.
At the same time, I noticed that I can't run a python program (pychess), because of a missing dependencie error.
After that I went for the 2.27.4 version of Gedit.
list of the installed packages and their dependencies for gedit 2.27.4
- Gspell 1.8.2
- Glib 2.49.4
The dpkg log for this session is in this pastebin.
I ended loosing my terminal colors (all white with light foreground text), and when I restarted the machine, the Ubuntu splash screen and a black screen kept alternating and flickering I can however access the machine via a tty, or by booting in init3 mode. I reinstalled Ubuntu-desktop and Unity like this, but nothing changed
sudo apt remove ubuntu-desktop
sudo apt remove unity
sudo apt autoremove
sudo apt install ubuntu-desktop
sudo apt install unity
I was also unable to
sudo apt checkinstall in the sources directories because of a missing library.
I also tried to boot in xfailsafe mode, It raised a
Fatal server error: no screens found(EE).
Here is a copy of the log.
I am running Ubuntu 16.04.5 LTS.
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.5 LTS Release: 16.04
Linux neo-box 4.7.0.intel.r5.0 #1 SMP Sun Jun 3 18:17:18 EDT 2018 x86_64 x86_64 x86_64 GNU/Linux`
Is it possible to revert to the state previous to all this?