I keep getting an error when I use apt or apt-get as a root user or using sudo with the default pi account.
Ign:1 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Ign:2 http://archive.raspberrypi.org/debian stretch InRelease
Err:3 http://raspbian.raspberrypi.org/raspbian stretch Release
System error resolving 'raspbian.raspberrypi.org:80' - getaddrinfo (13: Permission denied)
Err:4 http://archive.raspberrypi.org/debian stretch Release
System error resolving 'archive.raspberrypi.org:80' - getaddrinfo (13: Permission denied)
Reading package lists... Done
E: The repository 'http://raspbian.raspberrypi.org/raspbian stretch Release' does no longer 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.
E: The repository 'http://archive.raspberrypi.org/debian stretch Release' does no longer 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.
Any help is greatly appreciated!