I cannot update PiHole with the PiHole -up command from a SSH login.
Every time I run the command I get the following error.
pi@raspberrypi:~ $ pihole -up
[β] Update local cache of available packages
Error: Unable to update package cache. Please try "sudo apt update"
pi@raspberrypi:~ $ sudo apt update
Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 http://archive.raspberrypi.org/debian buster InRelease
Ign:3 https://deb.debian.org/debian-security bullseye/updates InRelease
Hit:4 https://deb.debian.org/debian bullseye-updates InRelease
Err:5 https://ookla.bintray.com/debian generic InRelease
502 Bad Gateway [IP: 35.161.19.108 443]
Err:6 https://deb.debian.org/debian-security bullseye/updates Release
404 Not Found [IP: 146.75.30.132 443]
Reading package lists... Done
E: The repository 'https://deb.debian.org/debian-security bullseye/updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Second issue: bintray.com has been shut down a year ago or so. Remove the line or file which contains this repository from /etc/apt/sources.list.d/, then repeat apt update. Not sure which software you installed from bintray.com, but as long as it is still maintained, you should check current install instructions, which will contain either a different APT repository or other download/install/update method.
Michalng, I think the instructions to removed speedtest was the answer. I ran the first four lines and was able to get the apt update, then the sudo apt upgrade.