erik@MinipcLG2:~$ sudo pihole -up
[sudo] wachtwoord voor erik:
[✗] Unsupported OS detected: Linuxmint 22.1
If you are seeing this message and you do have a supported OS, please contact support.
https://docs.pi-hole.net/main/prerequisites/#supported-operating-systems
If you wish to attempt to continue anyway, you can try one of the following commands to skip this check:
e.g: If you are seeing this message on a fresh install, you can run:
curl -sSL https://install.pi-hole.net | sudo PIHOLE_SKIP_OS_CHECK=true bash
If you are seeing this message after having run pihole -up:
sudo PIHOLE_SKIP_OS_CHECK=true pihole -r
(In this case, your previous run of pihole -up will have already updated the local repository)
It is possible that the installation will still fail at this stage due to an unsupported configuration.
If that is the case, you can feel free to ask the community on Discourse with the Community Help category:
https://discourse.pi-hole.net/c/bugs-problems-issues/community-help/
sudo PIHOLE_SKIP_OS_CHECK=true pihole -r should actually read sudo PIHOLE_SKIP_OS_CHECK=true pihole -up. I can open up an issue on GitHub, but I don't know in which repository exactly...
If anything the message might be clearer if it read
"If you are seeing this message after having run sudo pihole -up:"
As it explains on the next line, the attempt with OS checking running would still have downloaded any updates, but did not apply them as the OS is unsupported.
All that remains is to continue the process using the already downloaded updates, this is done with the repair option so long as the user disables OS checking.