0

I recently switched from 16.04 to Gnome version and I wanna roll back, is it possible?

  • Duplicate of https://askubuntu.com/questions/813752/switching-from-ubuntu-16-04-to-ubuntu-gnome-16-04/813828#813828 – lrkwz Oct 18 '17 at 10:23

1 Answers1

1

Try this:

Start in text-only mode

  • Switch on your computer. Wait until the BIOS has finished loading, and press and hold Shift, which will bring up the Grub menu.
  • Select the line which starts with Advanced options.
  • Select the line ending with (recovery mode)
  • Press Return and your machine will begin the boot process.
  • After a few moments, your PC should display a menu with a number of options, including Drop to root shell prompt. Press Return with this option highlighted.
  • The PC will start in a terminal.

Run these commands:

Mount partitions in read-write mode

mount -o remount,rw /
mount --all

Update repositories

apt-get update

Install aptitude and deborphan

apt-get install --reinstall aptitude deborphan

Eliminate the components of gnome that are not necessary in Ubuntu

aptitude remove '?and(?reverse-depends(gnome),?not(?reverse-depends(?exact-name(ubuntu-desktop))))'

Reinstall ubuntu-desktop

apt-get install --reinstall ubuntu-desktop

Eliminate orphan packages

deborphan
apt-get --purge remove $(deborphan)
deborphan --libdevel
apt-get --purge remove $(deborphan --libdevel)
deborphan --find-config
dpkg --purge $(deborphan --find-config)

Remove unnecessary packages

apt-get autoremove

Remove downloaded packages

apt-get clean

Restart system

reboot
kyodake
  • 15,401
  • When you say, "try this", are you not sure if this procedure will work? To me it looks like it should. – wjandrea Nov 25 '16 at 22:00
  • @wjandrea: I have worked with Lubuntu - Unity - Kubuntu.. But Murphy's law: Anything that can go wrong, will go wrong. – kyodake Nov 25 '16 at 23:30