升级cabal-install有问题

时间:2013-03-29 01:03:19

标签: haskell ghc cabal

我无法将cabal升级到1.17.0版。我目前的版本是:

edechter@helmholtz cabal-install (master) $ cabal --version
cabal-install version 1.16.0.2
using version 1.16.0.3 of the Cabal library 

这是我的尝试:

edechter@helmholtz cabal-install (master) $ cabal install cabal-install-1.17.0
Resolving dependencies...
cabal: Could not resolve dependencies:
rejecting: cabal-install-1.16.0.2, 1.16.0.1, 1.16.0, 0.14.0, 0.10.2, 0.10.0,
0.8.2, 0.8.0, 0.6.4, 0.6.2, 0.6.0, 0.5.2, 0.5.1, 0.5.0, 0.4.0 (global
constraint requires ==1.17.0)

我按照此处的说明操作:http://www.haskell.org/cabal/FAQ.html#dependencies-conflict 但我没有看到任何冲突。

有什么想法吗?

1 个答案:

答案 0 :(得分:2)

1.16.0.2 is the latest version currently available on Hackage。如果您想尝试预发布版本,建议您使用cabal-dev

$ git clone git://github.com/haskell/cabal.git
$ cd cabal/cabal-install
$ cabal-dev add-source ../Cabal
$ cabal-dev install

cabal可执行文件将安装在cabal-dev/bin下。