Failed to fetch jessie backports repositoryThe repository jessie-backports Release does no longer have a Release fileW: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.140.204 80]How to work around “Release file expired” problem on a local mirrorI can't use or find the google debian unstable/sid repositoryHow to update Debian kernel to latest in backportsLinux Mint Rebecca - Packages 404 Not Foundapt pinning priority restricted`apt update` failed on Debian LinuxUnable to find expected entry 'main/binary-mipsel/Packages' in Release fileI installed the kernel and some drivers from jessie-backports. Should I leave the backports repo in /etc/apt/sources.list?How to install a package from a repository which is missing some architectures?How to get rid of a PPA?Debian 9 stretch-backports signature couldn't be verified

Do the temporary hit points from the Battlerager barbarian's Reckless Abandon stack if I make multiple attacks on my turn?

when is out of tune ok?

Applicability of Single Responsibility Principle

Is there a problem with hiding "forgot password" until it's needed?

Is expanding the research of a group into machine learning as a PhD student risky?

How long to clear the 'suck zone' of a turbofan after start is initiated?

Can the discrete variable be a negative number?

Is the destination of a commercial flight important for the pilot?

Is a stroke of luck acceptable after a series of unfavorable events?

How to Reset Passwords on Multiple Websites Easily?

A Rare Riley Riddle

Hostile work environment after whistle-blowing on coworker and our boss. What do I do?

Is HostGator storing my password in plaintext?

How easy is it to start Magic from scratch?

Term for the "extreme-extension" version of a straw man fallacy?

Trouble understanding the speech of overseas colleagues

Sequence of Tenses: Translating the subjunctive

What is the difference between "behavior" and "behaviour"?

Why does indent disappear in lists?

Is this apparent Class Action settlement a spam message?

Large drywall patch supports

What does 算不上 mean in 算不上太美好的日子?

Purchasing a ticket for someone else in another country?

How do we know the LHC results are robust?



Failed to fetch jessie backports repository


The repository jessie-backports Release does no longer have a Release fileW: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found [IP: 151.101.140.204 80]How to work around “Release file expired” problem on a local mirrorI can't use or find the google debian unstable/sid repositoryHow to update Debian kernel to latest in backportsLinux Mint Rebecca - Packages 404 Not Foundapt pinning priority restricted`apt update` failed on Debian LinuxUnable to find expected entry 'main/binary-mipsel/Packages' in Release fileI installed the kernel and some drivers from jessie-backports. Should I leave the backports repo in /etc/apt/sources.list?How to install a package from a repository which is missing some architectures?How to get rid of a PPA?Debian 9 stretch-backports signature couldn't be verified













46















I'm using a docker image as a base for my own development that adds the jessie backports repository in its Dockerfile and uses that to install a dependency. This image uses the following command to add the repository:



echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list


The problem is that fetching packages from the backports repository now fails with the following error (this used to work previously):



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

W: Failed to fetch
http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages
404 Not Found


I looked on that server, and those paths are indeed not present there.



I tried to figure out on the Debian backports site whether this particular repository should still be available, and I didn't find any indication that this was deprecated or something like that.



Is this a temporary issue with the repository, or is the jessie-backports repository not available anymore? And if this is not a temporary issue, what options do I have to use this or an equivalent repository without upgrading to the newer Debian stable version?










share|improve this question









New contributor




user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • See also unix.stackexchange.com/questions/2544/…

    – user343761
    yesterday











  • This is essentially the same question as apt-get update is failing in debian on Super User.

    – a CVn
    20 hours ago















46















I'm using a docker image as a base for my own development that adds the jessie backports repository in its Dockerfile and uses that to install a dependency. This image uses the following command to add the repository:



echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list


The problem is that fetching packages from the backports repository now fails with the following error (this used to work previously):



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

W: Failed to fetch
http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages
404 Not Found


I looked on that server, and those paths are indeed not present there.



I tried to figure out on the Debian backports site whether this particular repository should still be available, and I didn't find any indication that this was deprecated or something like that.



Is this a temporary issue with the repository, or is the jessie-backports repository not available anymore? And if this is not a temporary issue, what options do I have to use this or an equivalent repository without upgrading to the newer Debian stable version?










share|improve this question









New contributor




user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • See also unix.stackexchange.com/questions/2544/…

    – user343761
    yesterday











  • This is essentially the same question as apt-get update is failing in debian on Super User.

    – a CVn
    20 hours ago













46












46








46


10






I'm using a docker image as a base for my own development that adds the jessie backports repository in its Dockerfile and uses that to install a dependency. This image uses the following command to add the repository:



echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list


The problem is that fetching packages from the backports repository now fails with the following error (this used to work previously):



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

W: Failed to fetch
http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages
404 Not Found


I looked on that server, and those paths are indeed not present there.



I tried to figure out on the Debian backports site whether this particular repository should still be available, and I didn't find any indication that this was deprecated or something like that.



Is this a temporary issue with the repository, or is the jessie-backports repository not available anymore? And if this is not a temporary issue, what options do I have to use this or an equivalent repository without upgrading to the newer Debian stable version?










share|improve this question









New contributor




user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












I'm using a docker image as a base for my own development that adds the jessie backports repository in its Dockerfile and uses that to install a dependency. This image uses the following command to add the repository:



echo "deb http://ftp.debian.org/debian jessie-backports main" >> /etc/apt/sources.list


The problem is that fetching packages from the backports repository now fails with the following error (this used to work previously):



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

W: Failed to fetch
http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages
404 Not Found


I looked on that server, and those paths are indeed not present there.



I tried to figure out on the Debian backports site whether this particular repository should still be available, and I didn't find any indication that this was deprecated or something like that.



Is this a temporary issue with the repository, or is the jessie-backports repository not available anymore? And if this is not a temporary issue, what options do I have to use this or an equivalent repository without upgrading to the newer Debian stable version?







debian repository






share|improve this question









New contributor




user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









GAD3R

27.5k1858114




27.5k1858114






New contributor




user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









user12345user12345

23624




23624




New contributor




user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






user12345 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












  • See also unix.stackexchange.com/questions/2544/…

    – user343761
    yesterday











  • This is essentially the same question as apt-get update is failing in debian on Super User.

    – a CVn
    20 hours ago

















  • See also unix.stackexchange.com/questions/2544/…

    – user343761
    yesterday











  • This is essentially the same question as apt-get update is failing in debian on Super User.

    – a CVn
    20 hours ago
















See also unix.stackexchange.com/questions/2544/…

– user343761
yesterday





See also unix.stackexchange.com/questions/2544/…

– user343761
yesterday













This is essentially the same question as apt-get update is failing in debian on Super User.

– a CVn
20 hours ago





This is essentially the same question as apt-get update is failing in debian on Super User.

– a CVn
20 hours ago










4 Answers
4






active

oldest

votes


















47














Wheezy and Jessie were recently removed from the mirror network, so if you want to continue fetching Jessie backports, you need to use archive.debian.org instead:



deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main


(Validity checks need to be disabled since the repository is no longer being updated. Jessie’s apt doesn’t support the check-valid-until flag, see inostia’s answer for details, and the configuration summary further down in this answer.)



The jessie-updates repository has been removed: all the updates have been merged with the main repository, and there will be no further non-security updates. Security updates will continue to be provided, on LTS-supported architectures, in the security repository, until June 30, 2020.



Since you’re building a container image, I highly recommend basing it on Debian 9 instead.



To say on Debian 8 (Jessie), your repositories should end up looking like



deb http://deb.debian.org/debian/ jessie main
deb-src http://deb.debian.org/debian/ jessie main

deb http://security.debian.org/ jessie/updates main
deb-src http://security.debian.org/ jessie/updates main

deb http://archive.debian.org/debian jessie-backports main
deb-src http://archive.debian.org/debian jessie-backports main


without the jessie-updates repository, and you’ll need to disable validity checks in /etc/apt/apt.conf:



Acquire::Check-Valid-Until "false";


(which will apply to all repositories).






share|improve this answer

























  • Thanks, I'll try that. Upgrading Debian is certainly something I will do in the future, it's just not as simple as my dependency has another dependency that is the actual base image that determines the Debian version. Upgrading that needs a a bit more testing.

    – user12345
    yesterday






  • 1





    Sorry, my answer was perhaps not all that clear; the line I gave was only for backports. jessie-updates doesn’t exist any more, so you should delete that altogether, and the Jessie security updates are still on security.debian.org.

    – Stephen Kitt
    yesterday






  • 2





    @Ian no, security updates are provided on security.debian.org, not through backports or updates. There won’t be any more non-LTS stable updates, so jessie-updates is no longer useful on the main mirror network, and there won’t be any more backports either, so the same goes for jessie-backports.

    – Stephen Kitt
    yesterday






  • 2





    Have found that subsequent apt commands also seem to require -o Acquire::Check-Valid-Until=false (per unix.stackexchange.com/a/45973/186565) in order to avoid the expiration error.

    – sumitsu
    yesterday






  • 1





    @sumitsu thanks, setting that in apt.conf should work too (see my update).

    – Stephen Kitt
    yesterday


















6














This happened to me provisioning a Vagrant box that was using Debian "Jessie".



Following Stephen Kitt's answer, switching to archive.debian.org worked for me, but I had to add it to /etc/apt/sources.list.d/jessie-backports.list, rather than to /etc/apt/sources.list.



echo "deb http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list


I then also got a security error running apt-get update.



Following How to work around "Release file expired" problem on a local mirror, this fixed that error:



apt-get -o Acquire::Check-Valid-Until=false update





share|improve this answer










New contributor




inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.















  • 1





    it didn't work when i only included [check-valid-until=no] in jessie-backports.list as the other answer suggested, i had to add the -o flag when running apt-update to get it to work for whatever reason. updated answer to exclude it from *.list configuration as it turned out to not work on its own without including -o when running apt.

    – inostia
    yesterday







  • 1





    comments in Stephen Kitt's answer suggest that you may be able to get around the -o flag issue if you set it in apt.conf

    – inostia
    yesterday



















6














After trying solutions suggested by @inostia and @Stephen Kitt I was still getting the following error:



W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.


I figured out that it can be solved by removing the line deb http://deb.debian.org/debian jessie-updates main from /etc/apt/sources.list.



I ended up with the following snippet in my Dockerfile:



RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
RUN sed -i '/deb http://deb.debian.org/debian jessie-updates main/d' /etc/apt/sources.list
RUN apt-get -o Acquire::Check-Valid-Until=false update





share|improve this answer








New contributor




henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.




















  • I had the same issue as you did and your snippet worked for me!

    – cafemike
    16 hours ago











  • I had to teak sed part as In my case docker image (postgres) was using httpredir.debian.org instead of deb.debian.org.

    – harrybvp
    8 hours ago



















1














For those using NodeJS with older docker image foundations. I had some frozen images that had these older sources for the compilation of extra libs.



Context: if you wanted to install python during a docker build you ran into this issue during a build of the image (within the last 24 hours) as it failed to source dependencies during a docker build.



I tried the archive path recommendations in this post but couldn't get past the 404's. (also coming from the archive.debian.org location as of today)



Solution: I ended up switching to the latest container version of node (which has python libs already pre-installed) that, and updating some libs in the package json (which now also include binary libs that used to want pythyon) made the issue obsolete.



In the end, updating the foundation image for the container stack (node:latest) seemed to be the most straight-forward path to resolution.



Be wary of stale image stacks with binary dependencies included, they'll probably take a while to update the core OS layer.






share|improve this answer








New contributor




Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


















    protected by Jeff Schaller 17 hours ago



    Thank you for your interest in this question.
    Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



    Would you like to answer one of these unanswered questions instead?














    4 Answers
    4






    active

    oldest

    votes








    4 Answers
    4






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    47














    Wheezy and Jessie were recently removed from the mirror network, so if you want to continue fetching Jessie backports, you need to use archive.debian.org instead:



    deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main


    (Validity checks need to be disabled since the repository is no longer being updated. Jessie’s apt doesn’t support the check-valid-until flag, see inostia’s answer for details, and the configuration summary further down in this answer.)



    The jessie-updates repository has been removed: all the updates have been merged with the main repository, and there will be no further non-security updates. Security updates will continue to be provided, on LTS-supported architectures, in the security repository, until June 30, 2020.



    Since you’re building a container image, I highly recommend basing it on Debian 9 instead.



    To say on Debian 8 (Jessie), your repositories should end up looking like



    deb http://deb.debian.org/debian/ jessie main
    deb-src http://deb.debian.org/debian/ jessie main

    deb http://security.debian.org/ jessie/updates main
    deb-src http://security.debian.org/ jessie/updates main

    deb http://archive.debian.org/debian jessie-backports main
    deb-src http://archive.debian.org/debian jessie-backports main


    without the jessie-updates repository, and you’ll need to disable validity checks in /etc/apt/apt.conf:



    Acquire::Check-Valid-Until "false";


    (which will apply to all repositories).






    share|improve this answer

























    • Thanks, I'll try that. Upgrading Debian is certainly something I will do in the future, it's just not as simple as my dependency has another dependency that is the actual base image that determines the Debian version. Upgrading that needs a a bit more testing.

      – user12345
      yesterday






    • 1





      Sorry, my answer was perhaps not all that clear; the line I gave was only for backports. jessie-updates doesn’t exist any more, so you should delete that altogether, and the Jessie security updates are still on security.debian.org.

      – Stephen Kitt
      yesterday






    • 2





      @Ian no, security updates are provided on security.debian.org, not through backports or updates. There won’t be any more non-LTS stable updates, so jessie-updates is no longer useful on the main mirror network, and there won’t be any more backports either, so the same goes for jessie-backports.

      – Stephen Kitt
      yesterday






    • 2





      Have found that subsequent apt commands also seem to require -o Acquire::Check-Valid-Until=false (per unix.stackexchange.com/a/45973/186565) in order to avoid the expiration error.

      – sumitsu
      yesterday






    • 1





      @sumitsu thanks, setting that in apt.conf should work too (see my update).

      – Stephen Kitt
      yesterday















    47














    Wheezy and Jessie were recently removed from the mirror network, so if you want to continue fetching Jessie backports, you need to use archive.debian.org instead:



    deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main


    (Validity checks need to be disabled since the repository is no longer being updated. Jessie’s apt doesn’t support the check-valid-until flag, see inostia’s answer for details, and the configuration summary further down in this answer.)



    The jessie-updates repository has been removed: all the updates have been merged with the main repository, and there will be no further non-security updates. Security updates will continue to be provided, on LTS-supported architectures, in the security repository, until June 30, 2020.



    Since you’re building a container image, I highly recommend basing it on Debian 9 instead.



    To say on Debian 8 (Jessie), your repositories should end up looking like



    deb http://deb.debian.org/debian/ jessie main
    deb-src http://deb.debian.org/debian/ jessie main

    deb http://security.debian.org/ jessie/updates main
    deb-src http://security.debian.org/ jessie/updates main

    deb http://archive.debian.org/debian jessie-backports main
    deb-src http://archive.debian.org/debian jessie-backports main


    without the jessie-updates repository, and you’ll need to disable validity checks in /etc/apt/apt.conf:



    Acquire::Check-Valid-Until "false";


    (which will apply to all repositories).






    share|improve this answer

























    • Thanks, I'll try that. Upgrading Debian is certainly something I will do in the future, it's just not as simple as my dependency has another dependency that is the actual base image that determines the Debian version. Upgrading that needs a a bit more testing.

      – user12345
      yesterday






    • 1





      Sorry, my answer was perhaps not all that clear; the line I gave was only for backports. jessie-updates doesn’t exist any more, so you should delete that altogether, and the Jessie security updates are still on security.debian.org.

      – Stephen Kitt
      yesterday






    • 2





      @Ian no, security updates are provided on security.debian.org, not through backports or updates. There won’t be any more non-LTS stable updates, so jessie-updates is no longer useful on the main mirror network, and there won’t be any more backports either, so the same goes for jessie-backports.

      – Stephen Kitt
      yesterday






    • 2





      Have found that subsequent apt commands also seem to require -o Acquire::Check-Valid-Until=false (per unix.stackexchange.com/a/45973/186565) in order to avoid the expiration error.

      – sumitsu
      yesterday






    • 1





      @sumitsu thanks, setting that in apt.conf should work too (see my update).

      – Stephen Kitt
      yesterday













    47












    47








    47







    Wheezy and Jessie were recently removed from the mirror network, so if you want to continue fetching Jessie backports, you need to use archive.debian.org instead:



    deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main


    (Validity checks need to be disabled since the repository is no longer being updated. Jessie’s apt doesn’t support the check-valid-until flag, see inostia’s answer for details, and the configuration summary further down in this answer.)



    The jessie-updates repository has been removed: all the updates have been merged with the main repository, and there will be no further non-security updates. Security updates will continue to be provided, on LTS-supported architectures, in the security repository, until June 30, 2020.



    Since you’re building a container image, I highly recommend basing it on Debian 9 instead.



    To say on Debian 8 (Jessie), your repositories should end up looking like



    deb http://deb.debian.org/debian/ jessie main
    deb-src http://deb.debian.org/debian/ jessie main

    deb http://security.debian.org/ jessie/updates main
    deb-src http://security.debian.org/ jessie/updates main

    deb http://archive.debian.org/debian jessie-backports main
    deb-src http://archive.debian.org/debian jessie-backports main


    without the jessie-updates repository, and you’ll need to disable validity checks in /etc/apt/apt.conf:



    Acquire::Check-Valid-Until "false";


    (which will apply to all repositories).






    share|improve this answer















    Wheezy and Jessie were recently removed from the mirror network, so if you want to continue fetching Jessie backports, you need to use archive.debian.org instead:



    deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main


    (Validity checks need to be disabled since the repository is no longer being updated. Jessie’s apt doesn’t support the check-valid-until flag, see inostia’s answer for details, and the configuration summary further down in this answer.)



    The jessie-updates repository has been removed: all the updates have been merged with the main repository, and there will be no further non-security updates. Security updates will continue to be provided, on LTS-supported architectures, in the security repository, until June 30, 2020.



    Since you’re building a container image, I highly recommend basing it on Debian 9 instead.



    To say on Debian 8 (Jessie), your repositories should end up looking like



    deb http://deb.debian.org/debian/ jessie main
    deb-src http://deb.debian.org/debian/ jessie main

    deb http://security.debian.org/ jessie/updates main
    deb-src http://security.debian.org/ jessie/updates main

    deb http://archive.debian.org/debian jessie-backports main
    deb-src http://archive.debian.org/debian jessie-backports main


    without the jessie-updates repository, and you’ll need to disable validity checks in /etc/apt/apt.conf:



    Acquire::Check-Valid-Until "false";


    (which will apply to all repositories).







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited 9 hours ago

























    answered yesterday









    Stephen KittStephen Kitt

    178k24405482




    178k24405482












    • Thanks, I'll try that. Upgrading Debian is certainly something I will do in the future, it's just not as simple as my dependency has another dependency that is the actual base image that determines the Debian version. Upgrading that needs a a bit more testing.

      – user12345
      yesterday






    • 1





      Sorry, my answer was perhaps not all that clear; the line I gave was only for backports. jessie-updates doesn’t exist any more, so you should delete that altogether, and the Jessie security updates are still on security.debian.org.

      – Stephen Kitt
      yesterday






    • 2





      @Ian no, security updates are provided on security.debian.org, not through backports or updates. There won’t be any more non-LTS stable updates, so jessie-updates is no longer useful on the main mirror network, and there won’t be any more backports either, so the same goes for jessie-backports.

      – Stephen Kitt
      yesterday






    • 2





      Have found that subsequent apt commands also seem to require -o Acquire::Check-Valid-Until=false (per unix.stackexchange.com/a/45973/186565) in order to avoid the expiration error.

      – sumitsu
      yesterday






    • 1





      @sumitsu thanks, setting that in apt.conf should work too (see my update).

      – Stephen Kitt
      yesterday

















    • Thanks, I'll try that. Upgrading Debian is certainly something I will do in the future, it's just not as simple as my dependency has another dependency that is the actual base image that determines the Debian version. Upgrading that needs a a bit more testing.

      – user12345
      yesterday






    • 1





      Sorry, my answer was perhaps not all that clear; the line I gave was only for backports. jessie-updates doesn’t exist any more, so you should delete that altogether, and the Jessie security updates are still on security.debian.org.

      – Stephen Kitt
      yesterday






    • 2





      @Ian no, security updates are provided on security.debian.org, not through backports or updates. There won’t be any more non-LTS stable updates, so jessie-updates is no longer useful on the main mirror network, and there won’t be any more backports either, so the same goes for jessie-backports.

      – Stephen Kitt
      yesterday






    • 2





      Have found that subsequent apt commands also seem to require -o Acquire::Check-Valid-Until=false (per unix.stackexchange.com/a/45973/186565) in order to avoid the expiration error.

      – sumitsu
      yesterday






    • 1





      @sumitsu thanks, setting that in apt.conf should work too (see my update).

      – Stephen Kitt
      yesterday
















    Thanks, I'll try that. Upgrading Debian is certainly something I will do in the future, it's just not as simple as my dependency has another dependency that is the actual base image that determines the Debian version. Upgrading that needs a a bit more testing.

    – user12345
    yesterday





    Thanks, I'll try that. Upgrading Debian is certainly something I will do in the future, it's just not as simple as my dependency has another dependency that is the actual base image that determines the Debian version. Upgrading that needs a a bit more testing.

    – user12345
    yesterday




    1




    1





    Sorry, my answer was perhaps not all that clear; the line I gave was only for backports. jessie-updates doesn’t exist any more, so you should delete that altogether, and the Jessie security updates are still on security.debian.org.

    – Stephen Kitt
    yesterday





    Sorry, my answer was perhaps not all that clear; the line I gave was only for backports. jessie-updates doesn’t exist any more, so you should delete that altogether, and the Jessie security updates are still on security.debian.org.

    – Stephen Kitt
    yesterday




    2




    2





    @Ian no, security updates are provided on security.debian.org, not through backports or updates. There won’t be any more non-LTS stable updates, so jessie-updates is no longer useful on the main mirror network, and there won’t be any more backports either, so the same goes for jessie-backports.

    – Stephen Kitt
    yesterday





    @Ian no, security updates are provided on security.debian.org, not through backports or updates. There won’t be any more non-LTS stable updates, so jessie-updates is no longer useful on the main mirror network, and there won’t be any more backports either, so the same goes for jessie-backports.

    – Stephen Kitt
    yesterday




    2




    2





    Have found that subsequent apt commands also seem to require -o Acquire::Check-Valid-Until=false (per unix.stackexchange.com/a/45973/186565) in order to avoid the expiration error.

    – sumitsu
    yesterday





    Have found that subsequent apt commands also seem to require -o Acquire::Check-Valid-Until=false (per unix.stackexchange.com/a/45973/186565) in order to avoid the expiration error.

    – sumitsu
    yesterday




    1




    1





    @sumitsu thanks, setting that in apt.conf should work too (see my update).

    – Stephen Kitt
    yesterday





    @sumitsu thanks, setting that in apt.conf should work too (see my update).

    – Stephen Kitt
    yesterday













    6














    This happened to me provisioning a Vagrant box that was using Debian "Jessie".



    Following Stephen Kitt's answer, switching to archive.debian.org worked for me, but I had to add it to /etc/apt/sources.list.d/jessie-backports.list, rather than to /etc/apt/sources.list.



    echo "deb http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list


    I then also got a security error running apt-get update.



    Following How to work around "Release file expired" problem on a local mirror, this fixed that error:



    apt-get -o Acquire::Check-Valid-Until=false update





    share|improve this answer










    New contributor




    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.















    • 1





      it didn't work when i only included [check-valid-until=no] in jessie-backports.list as the other answer suggested, i had to add the -o flag when running apt-update to get it to work for whatever reason. updated answer to exclude it from *.list configuration as it turned out to not work on its own without including -o when running apt.

      – inostia
      yesterday







    • 1





      comments in Stephen Kitt's answer suggest that you may be able to get around the -o flag issue if you set it in apt.conf

      – inostia
      yesterday
















    6














    This happened to me provisioning a Vagrant box that was using Debian "Jessie".



    Following Stephen Kitt's answer, switching to archive.debian.org worked for me, but I had to add it to /etc/apt/sources.list.d/jessie-backports.list, rather than to /etc/apt/sources.list.



    echo "deb http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list


    I then also got a security error running apt-get update.



    Following How to work around "Release file expired" problem on a local mirror, this fixed that error:



    apt-get -o Acquire::Check-Valid-Until=false update





    share|improve this answer










    New contributor




    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.















    • 1





      it didn't work when i only included [check-valid-until=no] in jessie-backports.list as the other answer suggested, i had to add the -o flag when running apt-update to get it to work for whatever reason. updated answer to exclude it from *.list configuration as it turned out to not work on its own without including -o when running apt.

      – inostia
      yesterday







    • 1





      comments in Stephen Kitt's answer suggest that you may be able to get around the -o flag issue if you set it in apt.conf

      – inostia
      yesterday














    6












    6








    6







    This happened to me provisioning a Vagrant box that was using Debian "Jessie".



    Following Stephen Kitt's answer, switching to archive.debian.org worked for me, but I had to add it to /etc/apt/sources.list.d/jessie-backports.list, rather than to /etc/apt/sources.list.



    echo "deb http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list


    I then also got a security error running apt-get update.



    Following How to work around "Release file expired" problem on a local mirror, this fixed that error:



    apt-get -o Acquire::Check-Valid-Until=false update





    share|improve this answer










    New contributor




    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.










    This happened to me provisioning a Vagrant box that was using Debian "Jessie".



    Following Stephen Kitt's answer, switching to archive.debian.org worked for me, but I had to add it to /etc/apt/sources.list.d/jessie-backports.list, rather than to /etc/apt/sources.list.



    echo "deb http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list


    I then also got a security error running apt-get update.



    Following How to work around "Release file expired" problem on a local mirror, this fixed that error:



    apt-get -o Acquire::Check-Valid-Until=false update






    share|improve this answer










    New contributor




    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.









    share|improve this answer



    share|improve this answer








    edited yesterday





















    New contributor




    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.









    answered yesterday









    inostiainostia

    1614




    1614




    New contributor




    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





    New contributor





    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    inostia is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.







    • 1





      it didn't work when i only included [check-valid-until=no] in jessie-backports.list as the other answer suggested, i had to add the -o flag when running apt-update to get it to work for whatever reason. updated answer to exclude it from *.list configuration as it turned out to not work on its own without including -o when running apt.

      – inostia
      yesterday







    • 1





      comments in Stephen Kitt's answer suggest that you may be able to get around the -o flag issue if you set it in apt.conf

      – inostia
      yesterday













    • 1





      it didn't work when i only included [check-valid-until=no] in jessie-backports.list as the other answer suggested, i had to add the -o flag when running apt-update to get it to work for whatever reason. updated answer to exclude it from *.list configuration as it turned out to not work on its own without including -o when running apt.

      – inostia
      yesterday







    • 1





      comments in Stephen Kitt's answer suggest that you may be able to get around the -o flag issue if you set it in apt.conf

      – inostia
      yesterday








    1




    1





    it didn't work when i only included [check-valid-until=no] in jessie-backports.list as the other answer suggested, i had to add the -o flag when running apt-update to get it to work for whatever reason. updated answer to exclude it from *.list configuration as it turned out to not work on its own without including -o when running apt.

    – inostia
    yesterday






    it didn't work when i only included [check-valid-until=no] in jessie-backports.list as the other answer suggested, i had to add the -o flag when running apt-update to get it to work for whatever reason. updated answer to exclude it from *.list configuration as it turned out to not work on its own without including -o when running apt.

    – inostia
    yesterday





    1




    1





    comments in Stephen Kitt's answer suggest that you may be able to get around the -o flag issue if you set it in apt.conf

    – inostia
    yesterday






    comments in Stephen Kitt's answer suggest that you may be able to get around the -o flag issue if you set it in apt.conf

    – inostia
    yesterday












    6














    After trying solutions suggested by @inostia and @Stephen Kitt I was still getting the following error:



    W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.


    I figured out that it can be solved by removing the line deb http://deb.debian.org/debian jessie-updates main from /etc/apt/sources.list.



    I ended up with the following snippet in my Dockerfile:



    RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
    RUN sed -i '/deb http://deb.debian.org/debian jessie-updates main/d' /etc/apt/sources.list
    RUN apt-get -o Acquire::Check-Valid-Until=false update





    share|improve this answer








    New contributor




    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















    • I had the same issue as you did and your snippet worked for me!

      – cafemike
      16 hours ago











    • I had to teak sed part as In my case docker image (postgres) was using httpredir.debian.org instead of deb.debian.org.

      – harrybvp
      8 hours ago
















    6














    After trying solutions suggested by @inostia and @Stephen Kitt I was still getting the following error:



    W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.


    I figured out that it can be solved by removing the line deb http://deb.debian.org/debian jessie-updates main from /etc/apt/sources.list.



    I ended up with the following snippet in my Dockerfile:



    RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
    RUN sed -i '/deb http://deb.debian.org/debian jessie-updates main/d' /etc/apt/sources.list
    RUN apt-get -o Acquire::Check-Valid-Until=false update





    share|improve this answer








    New contributor




    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.




















    • I had the same issue as you did and your snippet worked for me!

      – cafemike
      16 hours ago











    • I had to teak sed part as In my case docker image (postgres) was using httpredir.debian.org instead of deb.debian.org.

      – harrybvp
      8 hours ago














    6












    6








    6







    After trying solutions suggested by @inostia and @Stephen Kitt I was still getting the following error:



    W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.


    I figured out that it can be solved by removing the line deb http://deb.debian.org/debian jessie-updates main from /etc/apt/sources.list.



    I ended up with the following snippet in my Dockerfile:



    RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
    RUN sed -i '/deb http://deb.debian.org/debian jessie-updates main/d' /etc/apt/sources.list
    RUN apt-get -o Acquire::Check-Valid-Until=false update





    share|improve this answer








    New contributor




    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.










    After trying solutions suggested by @inostia and @Stephen Kitt I was still getting the following error:



    W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found

    E: Some index files failed to download. They have been ignored, or old ones used instead.


    I figured out that it can be solved by removing the line deb http://deb.debian.org/debian jessie-updates main from /etc/apt/sources.list.



    I ended up with the following snippet in my Dockerfile:



    RUN echo "deb [check-valid-until=no] http://archive.debian.org/debian jessie-backports main" > /etc/apt/sources.list.d/jessie-backports.list
    RUN sed -i '/deb http://deb.debian.org/debian jessie-updates main/d' /etc/apt/sources.list
    RUN apt-get -o Acquire::Check-Valid-Until=false update






    share|improve this answer








    New contributor




    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.









    share|improve this answer



    share|improve this answer






    New contributor




    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.









    answered 19 hours ago









    henadzithenadzit

    1611




    1611




    New contributor




    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.





    New contributor





    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






    henadzit is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.












    • I had the same issue as you did and your snippet worked for me!

      – cafemike
      16 hours ago











    • I had to teak sed part as In my case docker image (postgres) was using httpredir.debian.org instead of deb.debian.org.

      – harrybvp
      8 hours ago


















    • I had the same issue as you did and your snippet worked for me!

      – cafemike
      16 hours ago











    • I had to teak sed part as In my case docker image (postgres) was using httpredir.debian.org instead of deb.debian.org.

      – harrybvp
      8 hours ago

















    I had the same issue as you did and your snippet worked for me!

    – cafemike
    16 hours ago





    I had the same issue as you did and your snippet worked for me!

    – cafemike
    16 hours ago













    I had to teak sed part as In my case docker image (postgres) was using httpredir.debian.org instead of deb.debian.org.

    – harrybvp
    8 hours ago






    I had to teak sed part as In my case docker image (postgres) was using httpredir.debian.org instead of deb.debian.org.

    – harrybvp
    8 hours ago












    1














    For those using NodeJS with older docker image foundations. I had some frozen images that had these older sources for the compilation of extra libs.



    Context: if you wanted to install python during a docker build you ran into this issue during a build of the image (within the last 24 hours) as it failed to source dependencies during a docker build.



    I tried the archive path recommendations in this post but couldn't get past the 404's. (also coming from the archive.debian.org location as of today)



    Solution: I ended up switching to the latest container version of node (which has python libs already pre-installed) that, and updating some libs in the package json (which now also include binary libs that used to want pythyon) made the issue obsolete.



    In the end, updating the foundation image for the container stack (node:latest) seemed to be the most straight-forward path to resolution.



    Be wary of stale image stacks with binary dependencies included, they'll probably take a while to update the core OS layer.






    share|improve this answer








    New contributor




    Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.
























      1














      For those using NodeJS with older docker image foundations. I had some frozen images that had these older sources for the compilation of extra libs.



      Context: if you wanted to install python during a docker build you ran into this issue during a build of the image (within the last 24 hours) as it failed to source dependencies during a docker build.



      I tried the archive path recommendations in this post but couldn't get past the 404's. (also coming from the archive.debian.org location as of today)



      Solution: I ended up switching to the latest container version of node (which has python libs already pre-installed) that, and updating some libs in the package json (which now also include binary libs that used to want pythyon) made the issue obsolete.



      In the end, updating the foundation image for the container stack (node:latest) seemed to be the most straight-forward path to resolution.



      Be wary of stale image stacks with binary dependencies included, they'll probably take a while to update the core OS layer.






      share|improve this answer








      New contributor




      Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















        1












        1








        1







        For those using NodeJS with older docker image foundations. I had some frozen images that had these older sources for the compilation of extra libs.



        Context: if you wanted to install python during a docker build you ran into this issue during a build of the image (within the last 24 hours) as it failed to source dependencies during a docker build.



        I tried the archive path recommendations in this post but couldn't get past the 404's. (also coming from the archive.debian.org location as of today)



        Solution: I ended up switching to the latest container version of node (which has python libs already pre-installed) that, and updating some libs in the package json (which now also include binary libs that used to want pythyon) made the issue obsolete.



        In the end, updating the foundation image for the container stack (node:latest) seemed to be the most straight-forward path to resolution.



        Be wary of stale image stacks with binary dependencies included, they'll probably take a while to update the core OS layer.






        share|improve this answer








        New contributor




        Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.










        For those using NodeJS with older docker image foundations. I had some frozen images that had these older sources for the compilation of extra libs.



        Context: if you wanted to install python during a docker build you ran into this issue during a build of the image (within the last 24 hours) as it failed to source dependencies during a docker build.



        I tried the archive path recommendations in this post but couldn't get past the 404's. (also coming from the archive.debian.org location as of today)



        Solution: I ended up switching to the latest container version of node (which has python libs already pre-installed) that, and updating some libs in the package json (which now also include binary libs that used to want pythyon) made the issue obsolete.



        In the end, updating the foundation image for the container stack (node:latest) seemed to be the most straight-forward path to resolution.



        Be wary of stale image stacks with binary dependencies included, they'll probably take a while to update the core OS layer.







        share|improve this answer








        New contributor




        Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        share|improve this answer



        share|improve this answer






        New contributor




        Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.









        answered yesterday









        Glen C.Glen C.

        112




        112




        New contributor




        Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.





        New contributor





        Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.






        Glen C. is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
        Check out our Code of Conduct.















            protected by Jeff Schaller 17 hours ago



            Thank you for your interest in this question.
            Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).



            Would you like to answer one of these unanswered questions instead?



            Popular posts from this blog

            getting Checkpoint VPN SSL Network Extender working in the command lineHow to connect to CheckPoint VPN on Ubuntu 18.04LTS?Will the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayVPN SSL Network Extender in FirefoxLinux Checkpoint SNX tool configuration issuesCheck Point - Connect under Linux - snx + OTPSNX VPN Ububuntu 18.XXUsing Checkpoint VPN SSL Network Extender CLI with certificateVPN with network manager (nm-applet) is not workingWill the Linux ( red-hat ) Open VPNC Client connect to checkpoint or nortel VPN gateways?VPN client for linux machine + support checkpoint gatewayImport VPN config files to NetworkManager from command lineTrouble connecting to VPN using network-manager, while command line worksStart a VPN connection with PPTP protocol on command linestarting a docker service daemon breaks the vpn networkCan't connect to vpn with Network-managerVPN SSL Network Extender in FirefoxUsing Checkpoint VPN SSL Network Extender CLI with certificate

            Cannot Extend partition with GParted The 2019 Stack Overflow Developer Survey Results Are In Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) 2019 Community Moderator Election ResultsCan't increase partition size with GParted?GParted doesn't recognize the unallocated space after my current partitionWhat is the best way to add unallocated space located before to Ubuntu 12.04 partition with GParted live?I can't figure out how to extend my Arch home partition into free spaceGparted Linux Mint 18.1 issueTrying to extend but swap partition is showing as Unknown in Gparted, shows proper from fdiskRearrange partitions in gparted to extend a partitionUnable to extend partition even though unallocated space is next to it using GPartedAllocate free space to root partitiongparted: how to merge unallocated space with a partition

            Marilyn Monroe Ny fiainany manokana | Jereo koa | Meny fitetezanafanitarana azy.