我试图安装驾驶舱使用apt-get install cockpit,但得到以下错误。
The following packages have unmet dependencies:
cockpit : Depends: cockpit-system (= 172-1~ubuntu18.04.1) but it is not going to be installed
Recommends: cockpit-storaged (= 172-1~ubuntu18.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.使用Ubuntu的googling和驾驶舱说明,我还在source.list中添加了下面一行
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse如Ubuntu帮助中所述,然后更新
sudo apt-get update然后试着安装
sudo apt-get install cockpit但仍然会出现以下错误:
The following packages have unmet dependencies:
cockpit : Depends: cockpit-system (= 172-1~ubuntu18.04.1) but it is not going to be installed
Recommends: cockpit-storaged (= 172-1~ubuntu18.04.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.发布于 2018-08-18 09:24:22
请注意,驾驶舱存在于仿生的官方存储库中,因此,安装只需:
sudo apt update && sudo apt install cockpit注意:删除您添加的repos和通过sudo apt update进行的更新,然后继续安装。
在与OP进行了适当的交互之后,我发现问题在于他缺少sources.list中的D3 repos,因此为了克服这些问题,我们遵循了以下步骤:
https://askubuntu.com/questions/1066502
复制相似问题