【问题标题】:command: cabal build all, falling back to older state命令:cabal build all,回退到旧状态
【发布时间】:2022-07-27 06:53:54
【问题描述】:

我正在尝试按照此文档https://developers.cardano.org/docs/get-started/installing-cardano-wallet/ 安装cardano-wallet

在执行cabal build all时出现此错误

这是我遇到的错误,

HEAD is now at 00ebe72 Added support for aeson-2.0, text-2.0, and GHC 9.2
Warning: The package list for 'hackage.haskell.org' is 146 days old.
Run 'cabal update' to get the latest list of available packages.
Warning: Requested index-state 2022-05-18T00:00:00Z is newer than
'hackage.haskell.org'! Falling back to older state (2022-03-02T05:17:47Z).
Resolving dependencies...
cabal: Could not resolve dependencies:
[__0] trying: cardano-wallet-2022.7.1 (user goal)
[__1] next goal: blockfrost-client-core (dependency of cardano-wallet)
[__1] rejecting: blockfrost-client-core-0.2.0.0 (conflict: cardano-wallet =>
blockfrost-client-core>=0.4 && <0.5)
[__1] skipping: blockfrost-client-core-0.1.0.0 (has the same characteristics
that caused the previous version to fail: excluded by constraint '>=0.4 &&
<0.5' from 'cardano-wallet')
[__1] fail (backjumping, conflict set: blockfrost-client-core, cardano-wallet)
After searching the rest of the dependency tree exhaustively, these were the
goals I've had most trouble fulfilling: cardano-wallet, blockfrost-client-core

使用 cardano-node 版本 1.35.0 并尝试安装 cardano-wallet v2022-7-1

【问题讨论】:

  • 你能在cabal build all之前试试cabal update吗?

标签: haskell blockchain cabal cardano cabal-dev


【解决方案1】:

这几乎可以肯定是由于 Hackage 提供的软件包列表(及其版本)的过期缓存。你可以使用

cabal update

获取最新列表;然后再试一次。

【讨论】:

    猜你喜欢
    • 2019-11-28
    • 2021-02-15
    • 1970-01-01
    • 2010-12-01
    • 2019-02-09
    • 1970-01-01
    • 2018-09-18
    • 2021-01-11
    • 2014-04-09
    相关资源
    最近更新 更多