After March 20, 2019, installation of system updates on Plesk servers with Debian 8 fails: Failed to fetch http://ftp.debian.org/debian/dists/jessie-updates: 404 Not Found

Follow

Comments

11 comments

  • Avatar
    Andrea Candian

    Same issue with wheezy.

  • Avatar
    Artyom Baranov

    @Andrea Candian,

    Hi! You are right. That is because Debian 7 (Wheezy) has reached its end-of-life in 2018 and is supported neither by its developers nor by Plesk support.  

  • Avatar
    Lenor

    Hi, 

    also other Lines? 


    "deb http://security.debian.org/ jessie/updates main contrib non-free" ? 

  • Avatar
    Nikita Nikushkin

    Hello @Lenor,

    No, it is not required to disable this repository:

    deb http://security.debian.org/ jessie/updates main contrib non-free

    because it still exists and works:

    http://security-cdn.debian.org/dists/jessie/updates/

    Please also note that the affected repositories are "jessie-updates" only while "jessie" and "jessie/updates" still works fine

  • Avatar
    Stefan Schulz

    Hi,

    This solution only works half way, as there is a second failure popping up:

    ''Failed to fetch http://ftp.debian.org/debian/dists/jessie-backports/main/binary-amd64/Packages 404 Not Found''

    Is it recommended to comment out the corresponding line as well?

    Cheers,
    Stefan

  • Avatar
    Simone Fagoni (Edited )

    For ovh users: 

     

    /etc/apt/sources.list

    # jessie-updates, previously known as 'volatile'

    deb http://debian.mirrors.ovh.net/debian jessie-updates main

    deb-src http://debian.mirrors.ovh.net/debian jessie-updates main

    to

     

    # jessie-updates, previously known as 'volatile'

    #deb http://debian.mirrors.ovh.net/debian jessie-updates main

    #deb-src http://debian.mirrors.ovh.net/debian jessie-updates main
  • Avatar
    Konstantin Annikov

    @Simone Fagoni
    Yes, your modifications are correct.

  • Avatar
    Konstantin Annikov

    @Stefan Schulz
    You are right. In case backports repository is in use, links to it should be changed from debian.org to archive.debian.org.
    However please note that packages from backport repository were not tested with Plesk and they could cause unpredictable errors.

  • Avatar
    Stefan Schulz

    @Konstantin Annikov

    Using archive I already tried, but it does not work:

    E: Release file for http://archive.debian.org/debian/dists/jessie-backports/InRelease is expired (invalid since 40d 21h 52min 38s). Updates for this repository will not be applied.

    Thanks,
    Stefan

  • Avatar
    Konstantin Annikov

    @Stefan Schulz

    I should warn you that it is the Debian's FTP masters team decided to remove the jessie-updates and jessie-backports suite from the mirrors. This was announced on debian-devel-announce, resulting in the errors quoted in article.

    That is why, the error you are reporting says that repository is out of sync with the main Debian host for a long time.
    With the APT version in jessie, this cannot be ignored on a per source basis. So you need to disable this check globally, using this command:

    \# echo 'Acquire::Check-Valid-Until no;' > /etc/apt/apt.conf.d/99no-check-valid-until

    However this should be done only in case you are sure that you need this repository.If you are not sure, you can also just disable this repository by inserting '#' symbol at the beginning of the string with this repository.

  • Avatar
    Stefan Schulz

    Thanks. I don't think I need it. So hash it will be.

    Cheers,
    Stefan

Please sign in to leave a comment.

Have more questions? Submit a request