Node is active and running, thank you!
hi, did you manage to resolve this issue ? I’m facing the same error message on ubuntu20.04 …
indent preformatted text by 4 spaces
ubuntu@ip-172-31-50-171:~/git/cardano-node$ $CNODE_HOME/scripts/cabal-build-all.sh -o
Overwriting cabal.project.local with latest file from guild-repo (previous file, if any, will be saved as cabal.project.local.swp)…
Running cabal update to ensure you’re on latest dependencies…
cabal: Error parsing project file
/home/ubuntu/git/cardano-node/cabal.project:154:
unrecognised field or section: “<<<<<<< HEAD”
Building…
cabal: Error parsing project file
/home/ubuntu/git/cardano-node/cabal.project:154:
unrecognised field or section: “<<<<<<< HEAD”
type
cd ~/git
cd cardano-node
merge --abort
git reset --hard origin/master
git fetch --tags --all
git checkout 1.25.1
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh -o
yes u have to reset git, gets stuck to HEAD or something
if i recall u have to run a git merge
Hello Alex,
I’m finally back to getting my pool ramped up, and I ran in to this issue here. Seems to be something with cabal?
RETURNS THIS:
Overwriting cabal.project.local with latest file from guild-repo (previous file, if any, will be saved as cabal.project.local.swp)…
Running cabal update to ensure you’re on latest dependencies…
/opt/cardano/cnode/scripts/cabal-build-all.sh: line 20: cabal: command not found
Building…
/opt/cardano/cnode/scripts/cabal-build-all.sh: line 22: cabal: command not found
When I was installing the pre-req’s it did appear that cabal had some problems installing:
[ Error ] Unable to find a download for the requested version/distro.
[ Error ] Also check the logs in “/home/support/.ghcup/logs”
“_eghcup --cache install cabal 3.2.0.0” failed!
Any help would be awesome. Thank you!!!
Hello,
Can u try again with step 1 but type command by command?
Cheers,
Alex,
When I redo Step 1 and paste each individually I receive the following:

Ok, run also the bash command (last from step 1) and move to step 2
When I get to the $CNODE_HOME/scripts/cabal-build-all.sh -o piece I receieve the following:

Seems to be somethign with Cabal not being installed correctly?
Can u try again? I added few lines
cd "$HOME/tmp"
curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
chmod 755 prereqs.sh
./prereqs.sh
. "${HOME}/.bashrc"
cd ~/git
git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git fetch --tags --all
git checkout 1.25.1
git pull origin master
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh -o
Same error… when I run “./prereqs.sh” it appears to be having trouble installing cabal…

Then when I get to the “$CNODE_HOME/scripts/cabal-build-all.sh -o” I get this:

Do I need to just start from scratch??
Yes, u didn’t?
Try one more time but first install them
sudo apt-get update -y
sudo apt-get install automake build-essential pkg-config libffi-dev libgmp-dev libssl-dev libtinfo-dev libsystemd-dev zlib1g-dev make g++ tmux git jq wget libncursesw5 libtool autoconf -y
after this try again step1 + 2
Yes, I thought I did.
Same results. 
I dont know if this helps… but there seems to be a merge issue now?

This is really frustrating because I got further than this on my last 2… I just had to start over on new hardware. And now this. Feeling like I’m going to just have to start from scratch. Ugh… hours wasted.
Wait
type
cd ~/git
cd cardano-node
merge --abort
git reset --hard origin/master
git fetch --tags --all
git checkout 1.25.1
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh -o
Same error still…

I’m pretty confident this is rooted in cabal not being installed properly. I just don’t know how to fix it. WHen I initially walked through it, cabal wasn’t installing at all. So I did the following:
wget https://downloads.haskell.org/~cabal/cabal-install-3.2.0.0/cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz
tar -xf cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz
rm cabal-install-3.2.0.0-x86_64-unknown-linux.tar.xz cabal.sig
mkdir -p ~/.local/bin
mv cabal ~/.local/bin/
echo “export PATH=~/.local/bin:$PATH” >> ~/.bashrc
source ~/.bashrc
echo $PATH
And now I’m here… sorry if I did something I shouldn’t have…
ok, try
cd ~/.cabal
cd ~/.local/
ls -l
show me the output for both commands
and
cabal:
![]()
local:
