首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >软件中心崩溃;尝试修复后不会重新安装。

软件中心崩溃;尝试修复后不会重新安装。
EN

Ask Ubuntu用户
提问于 2013-10-03 21:57:47
回答 1查看 922关注 0票数 0

我很困惑。

在我的系统中,软件中心在执行后的2秒内就崩溃了。我试图通过运行以下命令来解决这个问题:

代码语言:javascript
复制
sudo apt-get remove --purge software-center
sudo apt-get install software-center

不幸的是,安装失败。我知道这个错误:

代码语言:javascript
复制
sudo apt-get install software-centerReading 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:
 software-center : Depends: python-gi (>= 3.4.0-1ubuntu0.1) but it is not going to be installed
                   Depends: python-gi-cairo but it is not going to be installed
                   Depends: python-aptdaemon (>= 0.40) but it is not going to be installed
                   Depends: python-aptdaemon.gtk3widgets but it is not going to be installed
                   Depends: oneconf (>= 0.2.6) but it is not going to be installed
                   Depends: python-oneconf (>= 0.3) but it is not going to be installed or
                            oneconf (< 0.3) but it is not going to be installed
                   Recommends: sessioninstaller but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

在绝望中,我试着得到建造,但这也失败了。

代码语言:javascript
复制
sudo apt-get build-dep python-gi python-gi-cairo python-aptdaemon.gtk3widgets oneconf python-oneconf oneconf sessioninstaller
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Picking 'pygobject' as source package instead of 'python-gi'
The following packages have unmet dependencies:
 libcairo2-dev : Depends: libfontconfig1-dev (>= 2.2.95) but it is not going to be installed
 libglib2.0-dev : Depends: libglib2.0-0 (= 2.36.0-1ubuntu2) but 2.36.3-0ubuntu1~raring1 is to be installed
                  Depends: libglib2.0-bin (= 2.36.0-1ubuntu2)
E: Build-dependencies for python-gi could not be satisfied.

有什么想法吗?

EN

回答 1

Ask Ubuntu用户

回答已采纳

发布于 2013-10-04 01:14:14

尝试先安装所有依赖项。似乎您的依赖关系也有依赖关系。你试过sudo apt-get install -f了吗?

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

https://askubuntu.com/questions/353378

复制
相关文章

相似问题

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