New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
The repository 'https://packages.sury.org/php stretch Release' does no longer have a Release file
I tried to update Debian 9 (Stretch) using sudo apt update
but got following error:
Hit:1 http://security.debian.org/debian-security stretch/updates InRelease
gn:2 https://packages.sury.org/php stretch InRelease
Err:3 https://packages.sury.org/php stretch Release
403 Forbidden
Ign:4 http://ftp.us.debian.org/debian stretch InRelease
Hit:5 http://ftp.us.debian.org/debian stretch-updates InRelease
Hit:6 http://ftp.us.debian.org/debian stretch Release
Reading package lists... Done
E: The repository 'https://packages.sury.org/php 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.
My /etc/apt/sources.list
are:
deb ftp://ftp.us.debian.org/debian/ stretch main
deb-src ftp://ftp.us.debian.org/debian/ stretch main
deb ftp://security.debian.org/debian-security stretch/updates main
deb-src ftp://security.debian.org/debian-security stretch/updates main
deb ftp://ftp.us.debian.org/debian/ stretch-updates main
deb ftps://packages.sury.org/php/ stretch main
deb-src ftp://ftp.us.debian.org/debian/ stretch-updates main
I remember it used to work fine before but I think I updated it last year. How to fix this issue?
Comments
Change to https://php.freexian.com/ for legacy EOL/long term repos
Only bullseye and buster are in sury diruectly
Have you tried this ?
Also there's this too!
Debian Stretch is EOL and it looks like the packages have been removed from the PACKAGES.SURY.ORG repo. Upgrade to a supported version of Debian.
sudo apt-get --allow-unauthenticated update
but idk? "403 Forbidden" is what it means if it is what it means...
Debian 9 end of life 2020-07-06
It is already very long end of life.
Debian stretch LTS went EOL 22-06-31
https://github.com/oerdnj/deb.sury.org/issues/1785
Just update your server ...
Because Debian Stretch reached EOL, upgrade your system to Debian Buster or Bullseye to avoid old and unmaintained packages.
This looks like a paid service.
Yeah I think I will need to move to a different Debian version.
Out of curiosity, why haven't you already upgraded to 10 or 11? Do you have software incompatibility issues?
There is no Debian 10 or 11 template on VPS provider control panel.
Can you upload your own ISO? Otherwise that sucks, as a host provider, that's also dangerous for the server itself.
https://netboot.xyz/docs/booting/ipxe/