据我所知,在新的 Gnome 3 桌面上,默认情况下不启用系统托盘,必须通过安装 gnome-shell-extension-appindicator 来手动应用它,但是我无法安装此软件包。
当我运行时sudo apt install gnome-shell-extension-appindicator
,我收到以下错误消息:
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-appindicator : Depends: gnome-shell (>= 3.31) but 3.30.2-9 is to be installed
E: Unable to correct problems, you have held broken packages.
所以我的问题是,如何安装 gnome-shell 版本 3.31,或者如果不可能,我还能如何解决这个问题?
答案1
当前不稳定的版本gnome-shell-extension-appindicator
取决于当前仅可用的 GNOME Shell 版本实验中。差异被追踪到#931874,我想当 GNOME 3.32 过渡开始时它会被修复。
同时,您可以gnome-shell
自己从实验安装:
echo deb http://deb.debian.org/debian experimental main | sudo tee /etc/apt/sources.list.d/experimental.list
sudo apt update
sudo apt -t experimental gnome-shell
(请注意最后一步,它可能涉及的升级超出了您的预期。将实验性添加到您的存储库是安全的,因为它永远不是安装甚至升级的候选者,除非您自己更改其引脚优先级。)
另一种解决方案可能是安装gnome-shell-extension-appindicator
从 Debian 10反而。