我正在嘗試hgview
在 Ubuntu 上安裝,但它不起作用。
$ hg version
Mercurial Distributed SCM (version 2.1)
(see http://mercurial.selenic.com for more information)
Copyright (C) 2005-2012 Matt Mackall and others
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ sudo apt-get install hgview
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:
hgview: Depends: mercurial (>= 0.9.3)
E: Broken packages
水銀是從 Ubuntu 儲存庫安裝。至於dpkg
,我得到:
$ dpkg -l mercurial*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============================================-==============================================-============================================================================================================
ii mercurial 2.1-0ppa1~lucid1 easy-to-use, scalable distributed version control system
ii mercurial-common 2.1-0ppa1~lucid1 easy-to-use, scalable distributed version control system (common files)
ii mercurial-git 0.3.1-1~lucid1 Git plugin for Mercurial
出了什麼問題?