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

No debian image can update/install packages #1013

Open
Vishnu91007 opened this issue Mar 26, 2019 · 10 comments
Open

No debian image can update/install packages #1013

Vishnu91007 opened this issue Mar 26, 2019 · 10 comments

Comments

@Vishnu91007
Copy link

Vishnu91007 commented Mar 26, 2019

Unable to fetch updates from debain repos.
All our VM update/install are also facing the same error. Even if I do curl or browse from another network, I'm getting the same error for debian url.

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://deb.debian.org jessie Release.gpg [2420 B]
Ign http://deb.debian.org jessie-updates Release.gpg
Get:3 http://deb.debian.org jessie Release [148 kB]
Ign http://deb.debian.org jessie-updates Release
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
Get:4 http://deb.debian.org jessie/main amd64 Packages [9098 kB]
Get:5 http://security.debian.org jessie/updates/main amd64 Packages [822 kB]
Fetched 10.1 MB in 18s (543 kB/s)
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.
@Vishnu91007
Copy link
Author

@tianon

@Munksgaard
Copy link

Symptom of #1012

@chorrell
Copy link
Contributor

All the latest images default to stretch and we dropped jessie completely from v11. We made that switch some time ago.

@tianon
Copy link
Contributor

tianon commented Mar 26, 2019

For actively supported versions based on Jessie, this will be updated via debuerreotype/docker-debian-artifacts#66 (comment).

@deiwin
Copy link

deiwin commented Mar 26, 2019

I was able to fix by replacing node:9.2 with node:9.2-stretch in my case.

@jordonbiondo
Copy link

jordonbiondo commented Mar 26, 2019

For others coming here, depending on the dependencies you need to install, you may be able to use the solution found here.

RUN this before you install packages

echo -e "deb http://deb.debian.org/debian jessie main\ndeb http://security.debian.org jessie/updates main" > /etc/apt/sources.list

https://forum.gitlab.com/t/gitlab-runners-stopped-working/24958/2


Edit: this was a temporary fix, the true fix for me was updated my FROM to the latest security patch on my major version, the latest version of an LTS won't have these problems.

@ebeal
Copy link

ebeal commented Mar 27, 2019

For others coming here, depending on the dependencies you need to install, you may be able to use the solution found here.

RUN this before you install packages

echo -e "deb http://deb.debian.org/debian jessie main\ndeb http://security.debian.org jessie/updates main" > /etc/apt/sources.list

https://forum.gitlab.com/t/gitlab-runners-stopped-working/24958/2

Had this issue running the image in drone, modifying the above command to exclude the -e worked

echo "deb http://deb.debian.org/debian jessie main\ndeb http://security.debian.org jessie/updates main" > /etc/apt/sources.list

@chrissnell
Copy link

Any updates @tianon ? Saw you mention that it would take a while but wondering how much longer.

@tianon
Copy link
Contributor

tianon commented Mar 28, 2019

The following list of tags should all be (long-since now) updated:

$ bashbrew list node | grep jessie
node:8.15.1-jessie
node:8.15-jessie
node:8-jessie
node:carbon-jessie
node:8.15.1-jessie-slim
node:8.15-jessie-slim
node:8-jessie-slim
node:carbon-jessie-slim
node:6.17.0-jessie
node:6.17-jessie
node:6-jessie
node:boron-jessie
node:6.17.0-jessie-slim
node:6.17-jessie-slim
node:6-jessie-slim
node:boron-jessie-slim
node:10.15.3-jessie
node:10.15-jessie
node:10-jessie
node:dubnium-jessie
node:lts-jessie
node:10.15.3-jessie-slim
node:10.15-jessie-slim
node:10-jessie-slim
node:dubnium-jessie-slim
node:lts-jessie-slim

They are the only actively-supported versions by the Node.js project, so they are the only versions that will be rebuilt.

@ultrasites
Copy link

The same issue is in node:8.15.1-alpine. It should be updated too.

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

10 participants