apt-get update is failing in debian

cat /etc/apt/sources.list

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

then apt-get update is failing.

If i remove the second line then above command is working fine.

I checked in the repositories. there is no folder with name jessie-updates.

We have many docker builds which requires apt-get update.

I can't update all the docker files to remove that second line.

What is best approach to go ahead and also if they are removed permanently or a temporary glitch


According to the IRC channel for Debian, jessie-updates is now not supported:

Oldstable: Debian Jessie, jessie-updates and jessie-backports REMOVED 2019-03-24

Your solution is either to upgrade to Stretch, or update your /etc/apt/sources.list to the following:

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

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

jessie-updates has been removed and jessie-backports has been archived

Thanks to comments from Stephen Kitt & Daniel below.


The debian Team did not move jessie-updates to the archive repository (yet). But they already removed it from the regular repositories. So you currently have no access to jessie-updates. Therefore you need to remove it from the sources.list.

My currently working sources.list:

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