Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


The repository 'https://packages.sury.org/php stretch Release' does no longer have a Release file
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.

The repository 'https://packages.sury.org/php stretch Release' does no longer have a Release file

aliletalilet Member

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

  • aiden1aiden1 Member
    edited July 2022

    Change to https://php.freexian.com/ for legacy EOL/long term repos

    Only bullseye and buster are in sury diruectly

    Thanked by 2adly alilet
  • henixhenix Member

    Have you tried this ?

    Also there's this too!

  • adlyadly Veteran
    edited July 2022

    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.

    Thanked by 3Daniel15 alilet Arkas
  • dIsKdIsK Member
    edited July 2022

    sudo apt-get --allow-unauthenticated update

    but idk? "403 Forbidden" is what it means if it is what it means...

  • aiden1aiden1 Member

    Debian 9 end of life 2020-07-06

    It is already very long end of life.

  • eriseris Member

    @aiden1 said:
    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 ...

  • xTomxTom Member, Patron Provider

    Because Debian Stretch reached EOL, upgrade your system to Debian Buster or Bullseye to avoid old and unmaintained packages.

    Thanked by 1alilet
  • aliletalilet Member

    @aiden1 said:
    Change to https://php.freexian.com/ for legacy EOL/long term repos

    Only bullseye and buster are in sury diruectly

    This looks like a paid service.

  • aliletalilet Member

    @adly said:
    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.

    Yeah I think I will need to move to a different Debian version.

  • ArkasArkas Moderator

    @alilet said: 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?

  • aliletalilet Member

    @Arkas said:

    @alilet said: 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.

  • ArkasArkas Moderator

    @alilet said: 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.

  • DPDP Administrator, The Domain Guy

    @alilet said: There is no Debian 10 or 11 template on VPS provider control panel.

    https://netboot.xyz/docs/booting/ipxe/

Sign In or Register to comment.