I am on Ubuntu 20.04
Because of some reason I needed to reinstall Gnome, but now after purging it I can't reinstall it. I am getting unmet dependencies error.
Exact error message -
sudo apt-get install ubuntu-gnome-desktop Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: ubuntu-gnome-desktop : Depends: ubuntu-desktop but it is not going to be installed Depends: gnome-session but it is not going to be installed E: Unable to correct problems, you have held broken packages.
What I tried -
sudo apt autoclean sudo apt clean sudo apt autoremove
my computer was already clean so no output
- Fixing using f parameter
sudo apt install -f ubuntu-gnome-desktop sudo apt --fix broken
sudo apt --fix-broken install Reading package lists... Done Building dependency tree Reading state information... Done 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
- Dpkg reconfigure
sudo dpkg --configure -a
Didn't return anything
- Using aptitude
sudo aptitude install ubuntu-gnome-desktop
Currently, I am doing it via xfce Desktop. I don't like it.
I do not having GDM installed.
I want ubuntu-gnome-desktop only.
This unmet dependencies problem is only with packages related to gnome.
If you don't have any solution about ubuntu-gnome-desktop then I can also install only gnome desktop, but that is not preferred.
output of sudo apt update -
sudo apt update Hit:1 http://ppa.launchpad.net/mozillateam/firefox-next/ubuntu focal InRelease Hit:2 http://archive.canonical.com/ubuntu focal InRelease Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease Hit:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease Hit:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease Reading package lists... Done Building dependency tree Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it.
- output of sudo apt upgrade
sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
I just want gnome-desktop