Cabal未能更新cabal-install [英] Cabal fails updating of cabal-install
问题描述
我的用户PATH是C:\ Users \Alberto\AppData\Roaming\cabal\bin
系统变量:CABAL_DIR = C:\ Users \Alberto\AppData\Roaming\cabal
更新之前
C:\ Users \Alberto> cabal -V
cabal-install版本1.16。 0.2
使用Cabal库的1.16.0版
C:\ Users \Alberto> cabal update
从hackage.haskell.org下载最新的软件包列表
注意:有一个新版本的cabal-install可用。
要升级,请运行:cabal install cabal-install
C:\ Users \Alberto> cabal install cabal-install
更新后
连结dist\build\cabal \cabal.exe ...
在C中安装可执行文件:\ Users \Alberto\AppData\Roaming\cabal\bin
安装cabal-install-1.18.0.2
C:\Users\Alberto> cabal -V
cabal-install版本1.16.0.2
使用版本1.16.0的Cabal库
但:
C :\ Users \Alberto> C:\ Users \Alberto\AppData\Roaming\cabal\bin\cabal.exe -V
cabal-install version 1.18.0.2
使用Cabal库的版本1.18.1.2
我很困惑。
Every time I install a library, cabal tells me to install a new version of cabal-install. Despite the fact that i run (with apparent success) the procedure that list below, the version of cabal-install remains unchanged. Where I am going wrong? (My OS is Window 7 64-bits) My User PATH is C:\Users\Alberto\AppData\Roaming\cabal\bin System variables: CABAL_DIR = C:\Users\Alberto\AppData\Roaming\cabal BEFORE the update AFTER the update But: I am very confused about. What's the output of 这篇关于Cabal未能更新cabal-install的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!C:\Users\Alberto>cabal -V
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library
C:\Users\Alberto>cabal update
Downloading the latest package list from hackage.haskell.org
Note: there is a new version of cabal-install available.
To upgrade, run: cabal install cabal-install
C:\Users\Alberto>cabal install cabal-install
Linking dist\build\cabal\cabal.exe ...
Installing executable(s) in C:\Users\Alberto\AppData\Roaming\cabal\bin
Installed cabal-install-1.18.0.2
C:\Users\Alberto>cabal -V
cabal-install version 1.16.0.2
using version 1.16.0 of the Cabal library
C:\Users\Alberto>C:\Users\Alberto\AppData\Roaming\cabal\bin\cabal.exe -V
cabal-install version 1.18.0.2
using version 1.18.1.2 of the Cabal library
C:\Users\Alberto\AppData\Roaming\cabal\bin\cabal.exe -V
?