Cannot update my lightning node
After following all of the steps to update/install lightning. I find that my node is refusing to update due to an earlier install that created a "permanent" v0.12.01 on my machine. Uninstalls do not work and reinstalls just give the same version. Here are the steps i received from an issue here that installed this version 12 permanently:
_``` Installing C-lightning from Binaries
Get dependencies:
apt-get update
apt-get install -y
jq autoconf automake build-essential git libtool libgmp-dev libsqlite3-dev
python3 python3-mako python3-pip net-tools zlib1g-dev libsodium-dev
gettext
apt install snapd squashfuse fuse (only for proxmox lxc container)
python3 -m pip install --upgrade pip setuptools
python3 -m pip install --user mrkd mistune==0.8.4
If you don't have Bitcoin installed locally you'll need to install that as well. It's now available via snapd. apt-get install snapd -y snap install bitcoin-core ln -s /snap/bitcoin-core/current/bin/bitcoin{d,-cli} /usr/local/bin/
Clone lightning: git clone https://github.com/ElementsProject/lightning.git cd lightning
For development or running tests, get additional dependencies: apt-get install -y valgrind python3-pip libpq-dev python3 -m pip install -r requirements.txt --use-feature=in-tree-build
Build lightning: ./configure echo -e '#!/bin/sh\ntouch $2\nexit 0' > /usr/local/bin/mrkd chmod 755 /usr/local/bin/mrkd make && make install-program
run lightningd (to get the .lightning folder created)
lightningd
How can I remove and update?