Gnome-Tweak-Tool konnte nicht in Ubuntu 21.04 installiert werden

Gnome-Tweak-Tool konnte nicht in Ubuntu 21.04 installiert werden

Nachdem ich Ubuntu 21.04 installiert und alle Pakete aktualisiert hatte, versuchte ich, das Gnome-Tweak-Tool zu installieren, und erhielt aufgrund von Abhängigkeiten eine Fehlermeldung.

smaceda@molexps15:~$ sudo apt install gnome-tweak-tool
[sudo] password for smaceda:  
Reading package lists... Done 
Building dependency tree... Done 
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:  gnome-shell-extension-prefs : 
Depends: gnome-shell (=3.38.4-1ubuntu3~21.04.1) but 3.38.4-1ubuntu2 is to be installed
Depends: gnome-shell-common (= 3.38.4-1ubuntu3~21.04.1) but 3.38.4-1ubuntu2 is to be installed 
E: Unable to correct problems, you have held broken packages. 
smaceda@molexps15:~$

Wie kann ich das Problem lösen? Ich bin neu bei Ubuntu.

Antwort1

Ich habe Pakete mit passenden Versionen aktualisiert und es scheint zu funktionieren:

sudo apt -f install gnome-shell=3.38.4-1ubuntu3~21.04.1 gnome-shell-common=3.38.4-1ubuntu3~21.04.1

verwandte Informationen