首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法在仿生上安装驾驶舱

无法在仿生上安装驾驶舱
EN

Ask Ubuntu用户
提问于 2018-08-18 08:43:11
回答 1查看 2.9K关注 0票数 2

我试图安装驾驶舱使用apt-get install cockpit,但得到以下错误。

代码语言:javascript
复制
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中添加了下面一行

代码语言:javascript
复制
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse

Ubuntu帮助中所述,然后更新

代码语言:javascript
复制
sudo apt-get update

然后试着安装

代码语言:javascript
复制
sudo apt-get install cockpit

但仍然会出现以下错误:

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

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2018-08-18 09:24:22

请注意,驾驶舱存在于仿生的官方存储库中,因此,安装只需:

代码语言:javascript
复制
sudo apt update && sudo apt install cockpit

注意:删除您添加的repos和通过sudo apt update进行的更新,然后继续安装。

在与OP进行了适当的交互之后,我发现问题在于他缺少sources.list中的D3 repos,因此为了克服这些问题,我们遵循了以下步骤:

  1. 添加回购: sudo添加-apt-存储库域
  2. 相应更新: sudo apt更新
  3. 现在安装: sudo apt安装驾驶舱
票数 6
EN
页面原文内容由Ask Ubuntu提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://askubuntu.com/questions/1066502

复制
相关文章

相似问题

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