I was trying to get rid of update-notifier
because it was being a pain, and I did sudo apt remove update-notifier
. I didn't really look at the details but I should have; it also removed the ubuntu-desktop
package with it. It didn't crash my current instance or whatever.
So I tried installing it back, with sudo apt install ubuntu-desktop
, but this causes a dependecy hell:
When I try to install ubuntu-desktop
:
ubuntu-desktop : Depends: ubuntu-release-upgrader-gtk but it is not going to be installed
Depends: update-manager but it is not going to be installed
When I do sudo apt install ubuntu-release-upgrader-gtk update-manager
:
ubuntu-release-upgrader-gtk : Depends: ubuntu-release-upgrader-core (= 1:18.04.17) but 1:18.04.34 is to be installed
Depends: python3-distupgrade (= 1:18.04.17) but 1:18.04.34 is to be installed
update-manager : Depends: update-manager-core (= 1:18.04.11) but 1:18.04.11.10 is to be installed
These above packages are already installed on my system. Yes, I have done sudo apt update
.
What do I do to get it back?
sudo apt update
yet (which you say you have; thus the mirror check). Do you get any errors in yoursudo apt update
, are all expected lines there?, and from what mirror? Check on https://launchpad.net/ubuntu/+archivemirrors to see if it's up-to-date is my first suggestion. – guiverc Dec 12 '19 at 10:17bionic
channel having an outdated version. Addingbionic-updates
to my sources.list fixed it. – frick Dec 12 '19 at 16:48