当我们进入黑社会的时候,我们可以删除这两个目录
.cabal
和
.ghc
重新启动清洁的阴谋集团环境。
现在我想,在我的一台机器上出了问题,我的尼克斯风格
v2卡巴尔仓库坏了。
cabal v2-install --dry-run directory
我得到:
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] next goal: directory (user goal)
[__0] rejecting: directory-1.3.4.0 (constraint from user target requires
==1.3.3.2)
[__0] trying: directory-1.3.3.2
[__1] next goal: ghc (user goal)
[__1] rejecting: ghc-8.6.5, ghc-8.6.4 (constraint from user target requires
==8.6.3)
[__1] rejecting: ghc-8.6.3/installed-8.6... (conflict: directory==1.3.3.2, ghc
=> directory==1.3.3.0/installed-1.3...)
[__1] rejecting: ghc-8.6.1, ghc-8.4.4, ghc-8.4.3, ghc-8.4.1, ghc-8.2.2,
ghc-8.2.1 (constraint from user target requires ==8.6.3)
[__1] fail (backjumping, conflict set: directory, ghc)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: directory, ghc
在另一台机器上,这个工作正常,所以我想,出了问题。
我该怎么解决?是否足以删除以下目录?
-
~/.cabal/商店/ghc-8.6.3
-
-
~/.cabal/share/x86_64-linux-ghc-8.6.3
-
~/.ghc/x86_64-linux-8.6.3
还有其他目录/文件需要我删除吗?
有什么像阴谋集团v2清洁指挥部的吗?
我不想删除其他GHC版本的安装包,因此我不想删除
.阴谋集团
和
完全是目录。