在最后一次gnome更新之后,gnome调整工具包被删除。当我试图使用appitute命令进行安装时,系统会说我有未满足的依赖项。然而,我不能回到所需的gnome版本。
下面我提出发出的命令:

这是apt-cache policy gnome-shell-extensions gnome-tweak-tool gnome-shell的输出
apt-cache policy gnome-shell-extensions gnome-tweak-tool gnome-shell
gnome-shell-extensions:
Installed: (none)
Candidate: 3.36.1-1
Version table:
3.36.1-1,500
500 http://pl.archive.ubuntu.com/ubuntu focal / universe amd64 Packages
500 http://en.archive.ubuntu.com/ubuntu focal / universe i386 Packages
gnome-tweak-tool:
Installed: (none)
Candidate: 3.34.0-2ubuntu1
Version table:
3.34.0-2ubuntu1 500
500 http://pl.archive.ubuntu.com/ubuntu focal / universe amd64 Packages
500 http://en.archive.ubuntu.com/ubuntu focal / universe i386 Packages
gnome-shell:
Installed: 3.36.9-0ubuntu0.20.04.2
Candidate: 3.36.9-0ubuntu0.20.04.2
Version table:
*** 3.36.9-0ubuntu0.20.04.2 500
500 http://en.archive.ubuntu.com/ubuntu focal-updates / main amd64 Packages
100 / var / lib / dpkg / status
3.36.4-1ubuntu1 ~ 20.04.2 500
500 http://en.archive.ubuntu.com/ubuntu focal-security / main amd64 Packages
3.36.1-5ubuntu1 500
500 http://en.archive.ubuntu.com/ubuntu focal / main amd64 Packages我不是在服务器上工作,它是ubuntu20.04.2桌面。
我也试过sudo apt install gnome-tweaks,它不起作用。
sudo apt install gnome-tweaks
[sudo] user password rskowron:
Reading package lists ... Done
Building a dependency tree
Reading status information ... Done
Some packages could not be installed. This could mean
that an impossible situation was requested or an unstable distribution was used
in which some packages have not yet been created or moved
from the Incoming directory.
The following information may help resolve the situation:
The following packages have unmet dependencies:
gnome-tweaks: Requires: gnome-shell-extension-prefs but it will not be installed
E: Could not fix problems, corrupt packages stopped.发布于 2021-09-04 23:20:07
我也有同样的问题。可能是由ubuntu更新引起的。我尝试了更多,并认为我发现,这是因为缺少匹配版本的gnome-shell和gnome-shell-常见:
~$ sudo apt install gnome-tweaks
Reading package lists... Done
Building dependency tree
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-tweaks : Depends: gnome-shell-extension-prefs but it is not going to be installed
E: Unable to correct problems, you have held broken packages.然后我试了一下
~$ sudo apt install gnome-shell-extension-prefs
Reading package lists... Done
Building dependency tree
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.36.4-1ubuntu1~20.04.2) but 3.36.9-0ubuntu0.20.04.2 is to be installed
Depends: gnome-shell-common (= 3.36.4-1ubuntu1~20.04.2) but 3.36.9-0ubuntu0.20.04.2 is to be installed
Recommends: chrome-gnome-shell but it is not going to be installed**
E: Unable to correct problems, you have held broken packages.更新其他详细信息
嗨
我试过修复坏包,它是说没有坏包。
所以,如果您看最后4个代码留置,它是说我有3.36.9-0ubuntu0.20.04.2版本的gnome,但是gnome扩展-prefs需要更老的版本3.36.4-1 ubuntu1~20.04.2。
我在gnome工具库问题中进行了搜索,其中有一个问题是无法在最新的gnome-shell上安装微调。
我认为我们应该等到修改开发人员更新应用程序。:(
发布于 2022-08-02 18:49:27
使用智能的解决方案:
$ sudo apt install -y aptitude
$ sudo aptitude install gnome-tweaks
...
The following actions will resolve these dependencies:
Keep the following packages at their current version:
1) gnome-shell-extension-prefs [Not Installed]
2) gnome-tweaks [Not Installed]
Accept this solution? [Y/n/q/?] n
...
The following actions will resolve these dependencies:
Downgrade the following packages:
1) gnome-shell [3.36.9-0ubuntu0.20.04.2 (now) -> 3.36.4-1ubuntu1~20.04.2 (focal-security)]
2) gnome-shell-common [3.36.9-0ubuntu0.20.04.2 (now) -> 3.36.4-1ubuntu1~20.04.2 (focal-security)]
Accept this solution? [Y/n/q/?] y
...
The following packages will be DOWNGRADED:
gnome-shell gnome-shell-common
The following NEW packages will be installed:
chrome-gnome-shell{a} gir1.2-handy-0.0{a} gnome-shell-extension-prefs{a} gnome-tweaks
0 packages upgraded, 4 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
Need to get 1,022 kB of archives. After unpacking 599 kB will be used.
Do you want to continue? [Y/n/?] y然后,您可以正常安装其他软件包,如sudo apt install -y gnome-shell-extensions。
https://askubuntu.com/questions/1350278
复制相似问题