# Upgrade 1.35.0 fail cabal: Could not resolve dependencies:

**URL:** <https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750>\
**Category:** Community Technical Support\
**Created:** [26 June 2022 07:53 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750 "2022-06-26T07:53:56Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frederic\_Noyer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/frederic_noyer/32/32052_2.png) [@Frederic\_Noyer](https://forum.cardano.org/u/Frederic_Noyer)\
**Post date:** [26 June 2022 07:53 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/1 "2022-06-26T07:53:56Z")

</div>

Hello everyone,

Trying to upgrade to 1.35.0 but it failed at the cabal configure -O0 -w ghc-8.10.7 \> “cabal: Could not resolve dependencies:”

Here are my cabal & ghc version  
cabal --version  
cabal-install version 3.6.2.0  
compiled using version 3.6.2.0 of the Cabal library

ghc --version  
The Glorious Glasgow Haskell Compilation System, version 8.10.7

The error is the following

 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/4/7/4740d391adf78818f2c5c7cf695b09b0e259e0b4.png)

Should I change cabal version ? any help will be appreciated.

Thank you!

---

<div class="post-metadata">

**Author:** ![Frederic\_Noyer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/frederic_noyer/32/32052_2.png) [@Frederic\_Noyer](https://forum.cardano.org/u/Frederic_Noyer)\
**Post date:** [26 June 2022 08:14 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/2 "2022-06-26T08:14:21Z")

</div>

For information I have found a post [cardano-node/install.md at master · input-output-hk/cardano-node · GitHub](https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md) and i have followed these instructions. I hope it will work. I will update shortly if this has solved the issue. Thx

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [26 June 2022 08:57 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/3 "2022-06-26T08:57:29Z")

</div>

Try to apply this WA

`cabal configure -O0 -w ghc-8.10.7`

[https://forum.cardano.org/search?context=topic&context\_id=103750&q=w%20ghc-8.10.7&skip\_context=true](https://forum.cardano.org/search?context=topic&context_id=103750&q=w%20ghc-8.10.7&skip_context=true)

---

<div class="post-metadata">

**Author:** ![Frederic\_Noyer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/frederic_noyer/32/32052_2.png) [@Frederic\_Noyer](https://forum.cardano.org/u/Frederic_Noyer)\
**Post date:** [26 June 2022 09:07 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/4 "2022-06-26T09:07:09Z")

</div>

This is exactly what i have done and this is exactly at this stage that it failed  
cabal configure -O0 -w ghc-8.10.7

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [26 June 2022 09:27 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/5 "2022-06-26T09:27:49Z")

</div>

Then try without this command

---

<div class="post-metadata">

**Author:** ![solydar](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/solydar/32/52992_2.png) [@solydar](https://forum.cardano.org/u/solydar)\
**Post date:** [26 June 2022 09:37 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/6 "2022-06-26T09:37:58Z")

</div>

> [@Alexd1985](#):
>
> cabal configure -O0 -w ghc-8.10.7

Hi all,  
I have exactly the same problem - I tried without the cabal configure command and it remains the same.

---

<div class="post-metadata">

**Author:** ![Frederic\_Noyer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/frederic_noyer/32/32052_2.png) [@Frederic\_Noyer](https://forum.cardano.org/u/Frederic_Noyer)\
**Post date:** [26 June 2022 09:46 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/7 "2022-06-26T09:46:03Z")

</div>

I have tried what is explained here

> <https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md#using-the-ported-c-code>

 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/e/d/ed20dd6f7b1da90fce38da746a4bb50bb3ec52eb.png)

and I have been able to compile. Now my node is in starting state. I will see if it works properly in a moment.  
 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/a/4/a4e5e50b038b0d794cf969867faf854a6d92a77d.png)

The question I have is should I do this (the libsodium and reinstall of cabal and ghc, etc ) also on other relay and producer ? or can I simply copy the carano-node & cardano-cli binaries ?

Thanks in advance for your help.

---

<div class="post-metadata">

**Author:** ![solydar](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/solydar/32/52992_2.png) [@solydar](https://forum.cardano.org/u/solydar)\
**Post date:** [26 June 2022 09:58 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/8 "2022-06-26T09:58:49Z")

</div>

I had the same idea and it is compiling now …

---

<div class="post-metadata">

**Author:** ![Alexd1985](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/alexd1985/32/23759_2.png) [@Alexd1985](https://forum.cardano.org/u/Alexd1985)\
**Post date:** [26 June 2022 10:23 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/9 "2022-06-26T10:23:38Z")

</div>

Theoretically should work but being a new major change I don’t know if other changes are required… (config file, etc) but u can try… rename bin folder (bin\_bkp) and copy the new bin folder

---

<div class="post-metadata">

**Author:** ![Frederic\_Noyer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/frederic_noyer/32/32052_2.png) [@Frederic\_Noyer](https://forum.cardano.org/u/Frederic_Noyer)\
**Post date:** [26 June 2022 10:41 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/10 "2022-06-26T10:41:43Z")

</div>

Thanks for your reply. I will see the best path to take here. I have not decided yet.

For information I have notice a changes in the config file \> [Cardano Configurations](https://hydra.iohk.io/build/13695229/download/1/index.html)

If I am not mistaken the following one was not part of my previous config files.  
“TraceAcceptPolicy”: true,

I do not know since then this update occurs in the config file as I haven’t updated these files since last major HardFork

---

<div class="post-metadata">

**Author:** ![7.4d4](https://avatars.discourse-cdn.com/v4/letter/7/bc79bd/32.png) [@7.4d4](https://forum.cardano.org/u/7.4d4)\
**Post date:** [26 June 2022 14:39 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/11 "2022-06-26T14:39:14Z")

</div>

> [@Frederic\_Noyer](#):
>
> If I am not mistaken the following one was not part of my previous config files.  
> “TraceAcceptPolicy”: true,

My old config for version 1.34.1 has that same setting, unchanged.

---

<div class="post-metadata">

**Author:** ![Frederic\_Noyer](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/frederic_noyer/32/32052_2.png) [@Frederic\_Noyer](https://forum.cardano.org/u/Frederic_Noyer)\
**Post date:** [26 June 2022 20:41 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/12 "2022-06-26T20:41:10Z")

</div>

I wanted to provide a quick update. I have been able to upgrade my relay A. I have copied the binaries to my second relay and I had the same issue the binaries can be executed because of the libsecp256k1.

So the following cmd have to be executed:

 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/6/0/6031552f8bde5f5ab4d515f6a99d080344acebe3.png)

instruction are provided here \> [cardano-node/install.md at master · input-output-hk/cardano-node · GitHub](https://github.com/input-output-hk/cardano-node/blob/master/doc/getting-started/install.md)

Once done I was able to run the binaries and now my second relay is starting so all fine. I will perform the same on my producer and it should be fine.

As usual Thanks to this community that is always willing to support and help others.

Proof of Clean “Starting Status” with upgraded node  
 ![image](https://us1.discourse-cdn.com/flex023/uploads/cardano/original/3X/4/2/4240aa57f05e58b283c6365a5064361af15e3c9f.png)

---

<div class="post-metadata">

**Author:** ![Jack7E](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/jack7e/32/44610_2.png) [@Jack7E](https://forum.cardano.org/u/Jack7E)\
**Post date:** [26 June 2022 21:31 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/13 "2022-06-26T21:31:16Z")

</div>

**made a thread on this earlier** 🫠

> [@Cardano-crypto-class:secp256k1-support issue on arm64 with Cardano node 1.35.0 SOLUTION](https://forum.cardano.org/t/cardano-crypto-class-secp256k1-support-issue-on-arm64-with-cardano-node-1-35-0-solution/103765):
>
> I had an issue building Cardano node 1.35.0 on my raspberry pi (arm64). Here I will outline the issue and the solution. Error encountered when building: cabal: Could not resolve dependencies: [\_\_0] trying: cardano-crypto-class-2.0.0 (user goal) [\_\_1] rejecting: cardano-crypto-class:+secp256k1-support (conflict: pkg-config package libsecp256k1-any, not found in the pkg-config database) [\_\_1] rejecting: cardano-crypto-class:-secp256k1-support (manual flag can only be changed explicitly) […

---

<div class="post-metadata">

**Author:** ![ParadoxicalSphere](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.cardano.org/paradoxicalsphere/32/89559_2.png) [@ParadoxicalSphere](https://forum.cardano.org/u/ParadoxicalSphere)\
**Post date:** [2 July 2022 04:50 UTC](https://forum.cardano.org/t/upgrade-1-35-0-fail-cabal-could-not-resolve-dependencies/103750/14 "2022-07-02T04:50:21Z")

</div>

Installing libsecp256k1 and increase from 12 GB to 16 GB minimum memory seem to be the only new requirements for building and running Cardano Node 1.35.0 when upgrading from 1.34.1

CHG
