细节:
$ sudo apt-get install mercurial
Reading package lists... Done
Building dependency tree
Reading state information... Done
mercurial is already the newest version.
mercurial set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt-get install tortoisehg
Reading 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:
tortoisehg : Depends: mercurial (< 2.9~) but 3.3.2-1ppa2~trusty1 is to be installed
Recommends: python-iniparse but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
有什么想法/提示可以让 tortoisehg 重新发挥作用吗?
非常感谢你对故障排除的描述添加 PPA 后如何解决未满足的依赖关系?然而,即使在应用了所有主要方法并清理数据库后,我仍然收到相同的消息。
有一件事确实发生了:添加所有源确实触发了许多其他包的更新 - 对此表示感谢
将进行更深入的研究
答案1
固定的。
- 从软件更新应用程序中删除/禁用重复项/所有 mercurial 和 tortoisehg ppa。
- apt clean & update(遵循第一个提示和评论)
- 为 .ini 文件安装 python 模块(对我很有用)
- 使用 synaptic 包管理器卸载现有的 mercurial 3.x
- 从 ubuntu 软件中心安装 tortoisehg(依赖项自动选择)
步骤 1、2 和 3 可能不是必要的,但建议这样做
tortoisehg 现已运行,存储库正常 - 可读/功能齐全
安装后:
$ hg --version
Mercurial Distributed SCM (version 3.0.1)
重新运行软件更新,它声称没有新的可用更新,将查看它在将来的下一次软件更新中的表现
致谢:dadexix86 & JohnnyEnglish