首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装gnome-微调工具- Ubuntu 20.04问题

安装gnome-微调工具- Ubuntu 20.04问题
EN

Ask Ubuntu用户
提问于 2021-07-06 06:40:01
回答 2查看 2.6K关注 0票数 0

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

下面我提出发出的命令:

这是apt-cache policy gnome-shell-extensions gnome-tweak-tool gnome-shell的输出

代码语言:javascript
复制
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,它不起作用。

代码语言:javascript
复制
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.
EN

回答 2

Ask Ubuntu用户

发布于 2021-09-04 23:20:07

我也有同样的问题。可能是由ubuntu更新引起的。我尝试了更多,并认为我发现,这是因为缺少匹配版本的gnome-shell和gnome-shell-常见:

代码语言:javascript
复制
~$ 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.

然后我试了一下

代码语言:javascript
复制
~$ 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上安装微调

我认为我们应该等到修改开发人员更新应用程序。:(

票数 0
EN

Ask Ubuntu用户

发布于 2022-08-02 18:49:27

使用智能的解决方案:

代码语言:javascript
复制
$ 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

票数 0
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1350278

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档