我很困惑。
在我的系统中,软件中心在执行后的2秒内就崩溃了。我试图通过运行以下命令来解决这个问题:
sudo apt-get remove --purge software-center
sudo apt-get install software-center不幸的是,安装失败。我知道这个错误:
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.在绝望中,我试着得到建造,但这也失败了。
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.有什么想法吗?
发布于 2013-10-04 01:14:14
尝试先安装所有依赖项。似乎您的依赖关系也有依赖关系。你试过sudo apt-get install -f了吗?
https://askubuntu.com/questions/353378
复制相似问题