![由于未满足依赖关系,无法安装 gnome-shell-extensions](https://linux22.com/image/1098917/%E7%94%B1%E4%BA%8E%E6%9C%AA%E6%BB%A1%E8%B6%B3%E4%BE%9D%E8%B5%96%E5%85%B3%E7%B3%BB%EF%BC%8C%E6%97%A0%E6%B3%95%E5%AE%89%E8%A3%85%20gnome-shell-extensions.png)
当我尝试安装 gnome-shell-extensions 时出现未满足依赖关系错误:
sudo apt-get install gnome-shell-extensions
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-extensions : Depends: gnome-shell (< 3.6) but 3.6.0-0ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
我该如何解决这个问题?
答案1
尝试这个命令:
sudo apt-get build-dep gnome-shell-extensions