我想在ubuntu 12.04机器上安装python-software-properties软件包.我一直在:
The following packages have unmet dependencies:
python-software-properties : Depends: python (< 2.7) but 2.7.3-0ubuntu2 is to be installed
Depends: python-pycurl but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Run Code Online (Sandbox Code Playgroud)
Aptitude显示它尝试安装的版本是0.75.10.3.当然,我已经运行了apt-get update.我需要这个来为我的回购列表添加一个ppa.
评论中的这两行完美地概括了您的问题:
我看到了许多清晰的线条.实际上,整个sources.list文件看起来都属于lucid.
我被告知它正在运行12.04.
它在某种程度上,但不是全部.如果不是太多工作,我建议在新安装中重新开始.
或者,
/etc/apt/sources.list.precise列出/配置了源(包括/etc/apt/sources.list.d目录中的文件).sudo apt-get clean和sudo apt-get update.sudo apt-get dist-upgrade)但是,这并不能确保所有软件包都处于干净状态,因此您可能会再遇到麻烦.
| 归档时间: |
|
| 查看次数: |
18544 次 |
| 最近记录: |