Docker-node: Debian jessie source.list error on node:8.10-slim

Created on 2 Apr 2019  路  5Comments  路  Source: nodejs/docker-node

I beleave that you need to update your image node:*jessie* series.

It appears that jessie-updates source doesn't exist on any mirror.

  • $ docker run --rm -it node:8.10-slim 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
  • $ docker run --rm -it node:8.10-slim apt-get update
Get:1 http://security.debian.org jessie/updates InRelease [44.9 kB]              
Ign http://deb.debian.org jessie InRelease                                           
Ign http://deb.debian.org jessie-updates InRelease                                   
Get:2 http://security.debian.org jessie/updates/main amd64 Packages [825 kB]
Get:3 http://deb.debian.org jessie Release.gpg [2420 B]
Ign http://deb.debian.org jessie-updates Release.gpg             
Get:4 http://deb.debian.org jessie Release [148 kB]              
Ign http://deb.debian.org jessie-updates Release       
Get:5 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Err http://deb.debian.org jessie-updates/main amd64 Packages                                                                                                                                                      

Err http://deb.debian.org jessie-updates/main amd64 Packages                                                                                                                                                      

Err http://deb.debian.org jessie-updates/main amd64 Packages                                                                                                                                                      

Err http://deb.debian.org jessie-updates/main amd64 Packages                                                                                                                                                      

Err http://deb.debian.org jessie-updates/main amd64 Packages                                                                                                                                                      
  404  Not Found [IP: 151.101.92.204 80]
Fetched 10.1 MB in 12s (810 kB/s)                                                                                                                                                                                 
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.92.204 80]

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

Most helpful comment

Thanks by your tip, @chorrell !

Unfortunately, my app haven't been homologated to work with node > 8.10 so far.

So, my workaround is RUN sed '/jessie-updates/d' -i /etc/apt/sources.list && apt... :sweat_smile:

Many thanks.

All 5 comments

See #1013

You'll need to make one of the following changes:

  • Use a newer version of Node.js 8 jessie slim variant: e.g., node:8.15-jessie-slim
  • Or switch to the stretch variant of Node.js 8.15.*: e.g., node:8.15-jessie-slim or node:8.15-slim (which defaults to stretch)

Thanks by your tip, @chorrell !

Unfortunately, my app haven't been homologated to work with node > 8.10 so far.

So, my workaround is RUN sed '/jessie-updates/d' -i /etc/apt/sources.list && apt... :sweat_smile:

Many thanks.

Can we close this issue?

Closing since 8 is EOL

Was this page helpful?
0 / 5 - 0 ratings

Related issues

retrohacker picture retrohacker  路  3Comments

dionysiusmarquis picture dionysiusmarquis  路  3Comments

iamwillbar picture iamwillbar  路  4Comments

frankbaele picture frankbaele  路  3Comments

jtcmedia picture jtcmedia  路  5Comments