我按照指示尝试了以下命令:
cabal install netcore错误如下:
rmichael@node:~/netcore$ cabal install netcore --force-reinstalls --reinstall
Resolving dependencies...
cabal: Could not resolve dependencies:
trying: netcore-1.0.0 (user goal)
next goal: network (dependency of netcore-1.0.0)
rejecting: network-2.6.0.2/installed-9fc..., 2.6.0.2, 2.6.0.1, 2.6.0.0,
2.5.0.0, 2.4.2.3, 2.4.2.2, 2.4.2.1, 2.4.2.0, 2.4.1.2, 2.4.1.1, 2.4.1.0,
2.4.0.1, 2.4.0.0 (conflict: netcore => network==2.3.*)
trying: network-2.3.2.0
next goal: unix (dependency of network-2.3.2.0)
rejecting: unix-2.7.0.1/installed-f86... (conflict: unix =>
bytestring==0.10.4.0/installed-d6f..., netcore => bytestring==0.9.*)
trying: unix-2.7.1.0
next goal: parsec (dependency of netcore-1.0.0)
rejecting: parsec-3.1.9/installed-3e8... (package is broken)
trying: parsec-3.1.9
next goal: text (dependency of parsec-3.1.9)
rejecting: text-1.2.0.4/installed-3df... (conflict: text =>
bytestring==0.10.6.0/installed-768..., netcore => bytestring==0.9.*)
trying: text-1.2.0.4
next goal: bytestring (dependency of netcore-1.0.0)
rejecting: bytestring-0.10.6.0/installed-768..., 0.10.4.0/installed-d6f...,
0.10.6.0, 0.10.4.1, 0.10.4.0, 0.10.2.0, 0.10.0.2, 0.10.0.1, 0.10.0.0
(conflict: netcore => bytestring==0.9.*)
rejecting: bytestring-0.9.2.1, 0.9.2.0 (conflict: text =>
bytestring>=0.10.4.0)
rejecting: bytestring-0.9.1.10, 0.9.1.9, 0.9.1.8, 0.9.1.7, 0.9.1.6, 0.9.1.5,
0.9.1.4, 0.9.1.3, 0.9.1.2, 0.9.1.1, 0.9.1.0, 0.9.0.4, 0.9.0.3, 0.9.0.2,
0.9.0.1, 0.9 (conflict: unix => bytestring>=0.9.2 && <0.11)
Dependency tree exhaustively searched.
rmichael@node:~/netcore$ 我无法从这些消息中破译我的下一步行动。任何帮助都将不胜感激。
附言:我的最终目标是启动并运行FlowLog。我在这里使用的是Ubuntu 14.04系统。
发布于 2016-03-13 14:30:59
与其尝试在我正在尝试构建的旧包周围安装旧包,我发现更合理的做法是跳过它的所有版本缺陷(或者使用--allow-newer自动执行此操作),然后去做清洁工作来修复其中引入的(小)损坏。通常情况下,只有几个东西需要修复,尽管它们可能需要修复许多地方。最终结果是包的更新版本,您可以将其发送回作者,并要求他们使用hackage!
https://stackoverflow.com/questions/29449754
复制相似问题