I’ve used the CoinCashew guide for both my block and relay nodes. I am trying to update my block node using the following steps
ghcup upgrade
ghcup install ghc 8.10.4
ghcup set ghc 8.10.4
ghcup install cabal 3.4.0.0
ghcup set cabal 3.4.0.0
cabal update
ghc --version
cabal --version
All goes well but when I go to check my cabal it still shows 3.2.0.0.
Rechecking my steps I ran ‘ghcup install cabal 3.4.0.0’ and it says:
[ Warn ] Cabal ver 3.4.0.0 already installed; if you really want to reinstall it, you may want to run ‘ghcup install cabal --force 3.4.0.0’
So it seems like it’s installed, but, again, running the ‘cabal–version’ command it states:
cabal-install version 3.2.0.0
compiled using version 3.2.0.0 of the Cabal library
Any help or suggestions would be greatly appreciated.
Well…the good news is my bashrc file is a lot cleaner.
Still seeing cabal 3.2.0.0 though. When I ran the ghcup upgrade command it said
‘No GHCup update available’
When I ran the ghcup install cabal 3.4.0.0 command it also said
'Cabal ver 3.4.0.0 already installed; if you really want to reinstall it, you may want to run ‘ghcup install cabal --force 3.4.0.0’…but I did not do a force reinstall this time.
Thanks Alex. I wasn’t entirely clear on what the fix was from that thread, but I saw that Anti-biz said he “found a copy of cabal inside of .local/bin”…and deleted it.
So I did that. Ran these commands again:
cd $HOME
source .bashrc
ghcup upgrade
ghcup install cabal 3.4.0.0
ghcup set cabal 3.4.0.0