Hi, I was trying to switch from development-v6 to development, but ran into some issues (Unable to pull Web development branch) so decided to reinstall Pi-hole.
For some reason I can't uninstall Pi-hole though, I keep getting:
pi@raspberrypi4:~ $ sudo pihole uninstall
[?] Are you sure you would like to remove Pi-hole? [y/N] y
[✓] Root user check
/opt/pihole/uninstall.sh: line 42: : No such file or directory
How can I uninstall Pi-hole 'manually'? Thank you!
I think somewhere in the process of trying v6 I did something wrong, therefore I basically just want to start 'fresh' (I don't care about preserving any data).
Sadly, it doesn't, as stated in my first post. That's the reason I'm posting here.
I'll repost the result of sudo pihole uninstall:
pi@raspberrypi4:~ $ sudo pihole uninstall
[?] Are you sure you would like to remove Pi-hole? [y/N] y
[✓] Root user check
/opt/pihole/uninstall.sh: line 42: : No such file or directory
Hmm that could be it indeed. Does anyone know of a way to do it 'manually'? I'd really like to reinstall the latest version of v6 to test some API quirks, but I can't seem make it work.
The next step is upgrading to v6, but that gives a new error:
pi@raspberrypi4:~ $ pihole checkout dev
Please note that changing branches severely alters your Pi-hole subsystems
Features that work on the master branch, may not on a development branch
This feature is NOT supported unless a Pi-hole developer explicitly asks!
Have you read and understood this? [y/N] y
[i] Shortcut "dev" detected - checking out development / devel branches...
[i] Pi-hole Core
[✓] Switching to branch: 'development' from 'refs/heads/master'
[i] Already up to date.
[i] Web interface
fatal: couldn't find remote ref refs/heads/devel
[✗] Unable to pull Web development branch
as well as
pi@raspberrypi4:~ $ pihole -up
/opt/pihole/update.sh: line 108: : No such file or directory
I`m having the same problem trying to switch to V6 on the dev branch and the error is the same as jojost1 with the "fatal: couldn't find remote ref refs/heads/devel". anyway to get around this error?