Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
adrianovieira opened this issue Apr 2, 2019 · 5 comments
Closed

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

adrianovieira opened this issue Apr 2, 2019 · 5 comments

Comments

@adrianovieira
Copy link

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.
@chorrell
Copy link
Contributor

chorrell commented Apr 2, 2019

See #1013

@chorrell
Copy link
Contributor

chorrell commented Apr 2, 2019

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)

@adrianovieira
Copy link
Author

adrianovieira commented Apr 4, 2019

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... 😅

Many thanks.

@LaurentGoderre
Copy link
Member

Can we close this issue?

@nschonni
Copy link
Member

Closing since 8 is EOL

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants