Can't install gnome-tweaks on Ubuntu 20.04.3 LTS fresh install - Unmet dependency issue

Solution 1:

I met the same problem when I tried to install gnome-tweak-tool on the lates Ubuntu 20.04.3 LTS (downloaded from Ubuntu official site on 19th November 2021).

The reason this happens is that one of the dependencies gnome-shell-extension-prefs requires gnome-shell (= 3.36.4-1ubuntu1~20.04.2) but 3.36.9-0ubuntu0.20.04.2 was installed by default.

To solve it I downgraded gnome-shell and its dependencies to the previous version with the following code:

sudo apt install gnome-shell=3.36.4-1ubuntu1~20.04.2 gnome-shell-common=3.36.4-1ubuntu1~20.04.2 gnome-shell-extension-prefs=3.36.4-1ubuntu1~20.04.2

References

  • @aqh's answer
  • How downgrade gnome-shell in 18.04?