Cabal未能更新cabal-install [英] Cabal fails updating of cabal-install

查看:102
本文介绍了Cabal未能更新cabal-install的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每次我安装一个库时,cabal都会告诉我安装一个新版本的cabal-install。尽管我运行(显然成功)下面列出的过程,但cabal-install的版本保持不变。我哪里出错了? (我的操作系统是Windows 7 64位)



我的用户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

我很困惑。

解决方案

的输出是什么?C:\ Users \Alberto\AppData\Roaming\ cabal \\\ \\\\\\\\\\\\\\\\\\\\\\\\\\\

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

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

AFTER the update

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

But:

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

I am very confused about.

解决方案

What's the output of C:\Users\Alberto\AppData\Roaming\cabal\bin\cabal.exe -V?

这篇关于Cabal未能更新cabal-install的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆