在刚安装的 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

相关内容