Я установил Mercurial из PPA , затем я хотел установить hgsubversion. Это терпит неудачу из-за неудовлетворенных зависимостей. Но они встречаются, насколько я понимаю. Что мне здесь не хватает?
jb@x60 ~ $ apt-cache policy mercurial
mercurial:
Installed: 2.7-0ppa1
Candidate: 2.7-0ppa1
Version table:
*** 2.7-0ppa1 0
500 http://ppa.launchpad.net/mercurial-ppa/releases/ubuntu/ raring/main i386 Packages
100 /var/lib/dpkg/status
2.2.2-2 0
500 http://ftp.tu-chemnitz.de/pub/linux/ubuntu/ raring/universe i386 Packages
jb@x60 ~ $ sudo apt-get install hgsubversion
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:
hgsubversion : Depends: mercurial (>= 1.9.1-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Другая информация:
jb@x60 ~ $ lsb_release -a
No LSB modules are available.
Distributor ID: LinuxMint
Description: Linux Mint 15 Olivia
Release: 15
Codename: olivia
Изучая debian / control в пакете исходного кода PPA PPA, мы видим, что он имеет:
Breaks: hgsubversion (<< 1.5~)
Так что, если вы хотите hgsubversion, вам понадобится более новая версия (1.5-1 доступна в saucy ).
Кроме того, в этой ситуации вы также можете увидеть ошибку, запустив:
sudo apt-get install -oDebug::pkgProblemResolver=yes hgsubversion
, что говорит нам в начале, что:
Investigating (0) mercurial [ amd64 ] < 2.7-0ppa1 > ( universe/devel )
Broken mercurial:amd64 Breaks on hgsubversion [ amd64 ] < none -> 1.4-1 > ( universe/vcs ) (< 1.5~)
Considering hgsubversion:amd64 9998 as a solution to mercurial:amd64 5
Removing mercurial:amd64 rather than change hgsubversion:amd64