在剛安裝的ubuntu 21.04安裝gnome-tweak-tool失敗

在剛安裝的ubuntu 21.04安裝gnome-tweak-tool失敗

安裝 ubuntu 21.04 並更新所有軟體包後,我嘗試安裝 gnome-tweak-tool,但由於依賴關係而出現錯誤。

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:~$

我該如何解決?我是ubuntu新手。

答案1

我用匹配的版本更新了軟體包,它似乎可以工作:

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

相關內容