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

Jessie has been archived; sources.list should be updated #66

Closed
tobiasoort opened this issue Mar 26, 2019 · 12 comments

Comments

@tobiasoort
Copy link

@tobiasoort tobiasoort commented Mar 26, 2019

see https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html

this breaks apt-get update on everything based on debian:jessie.

@bourtemb

This comment has been minimized.

Copy link

@bourtemb bourtemb commented Mar 26, 2019

https://www.mail-archive.com/debian-user@lists.debian.org/msg740481.html

I just noticed the wiki LTS/Using [1] has been updated. This seems the jessie-update/ should not be set anymore in the /etc/apt/sources.list.

[1] : https://wiki.debian.org/LTS/Using?action=diff&rev2=40&rev1=39

Totktonada added a commit to packpack/packpack-docker-images that referenced this issue Mar 26, 2019
It was removed from the official mirror, see [1] and links inside for
more information.

[1]: debuerreotype/docker-debian-artifacts#66
Totktonada added a commit to packpack/packpack-docker-images that referenced this issue Mar 26, 2019
It was removed from the official mirror, see [1] and links inside for
more information.

[1]: debuerreotype/docker-debian-artifacts#66
@olliemath

This comment has been minimized.

Copy link

@olliemath olliemath commented Mar 26, 2019

For those reading this that need a quick work-around, it suffices to add this to your dockerfile before any calls to apt-get update

RUN sed -i '/jessie-updates/d' /etc/apt/sources.list  # Now archived
@cadwallion

This comment has been minimized.

Copy link

@cadwallion cadwallion commented Mar 26, 2019

👋 Will there be an update to the debian:jessie image to remove this? Jessie is still LTS, but LTS is not supposed to use -updates which is why it's missing.

@tianon

This comment has been minimized.

Copy link
Contributor

@tianon tianon commented Mar 26, 2019

Gah, I was hoping to wait until Debian 9.9 to regenerate because the regeneration is a bit heavy (all supported suites x all supported arches) and the downstream effect is even heavier (triggers rebuilds of anyone using Debian base images) so we try to avoid doing it more than ~once every 30 days, but this is warranted; I've got builds going now, should hopefully have this resolved later today.

@mayank-unbxd

This comment was marked as off-topic.

Copy link

@mayank-unbxd mayank-unbxd commented Mar 26, 2019

sigh of relief, images are now getting built
thanks @Totktonada

jsmedmar added a commit to papaemmelab/toil_container that referenced this issue Mar 26, 2019
jsmedmar added a commit to papaemmelab/toil_container that referenced this issue Mar 26, 2019
* 🐛 add fix from debuerreotype/docker-debian-artifacts#66

* 📘 update docs indicating support for singularity 2.6
travishaby added a commit to GuildEducationInc/docker-circleci-guild that referenced this issue Mar 26, 2019
lindycoder added a commit to internap/php that referenced this issue Mar 26, 2019
@blockjon

This comment was marked as off-topic.

Copy link

@blockjon blockjon commented Mar 26, 2019

For those reading this that need a quick work-around, it suffices to add this to your dockerfile before any calls to apt-get update

RUN sed -i '/jessie-updates/d' /etc/apt/sources.list  # Now archived

@olliemath thanks for this ...

I used your technique in my docker build...

RUN sed -i '/jessie-updates/d' /etc/apt/sources.list

however building my container still does not work. I get:

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 build-essential : Depends: gcc (>= 4:4.9.1) but it is not going to be installed
                   Depends: g++ (>= 4:4.9.1) but it is not going to be installed
                   Depends: dpkg-dev (>= 1.17.11) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

These builds were working just yesterday so I'm positive I'm affected by this issue. Do you have any insight as to how I could resolve this? I asked this earlier and someone marked my question as off topic but I'm not sure how this is could be considered off topic. The reason I think this is on topic is because I'm trying to recover from being stranded after jessie was archived. If you could just steer me in the right direction, that would help me and anybody else who this has happened to.

@tianon

This comment was marked as off-topic.

Copy link
Contributor

@tianon tianon commented Mar 26, 2019

@blockjon this is not a support forum, which is why your comment got marked off-topic (the workaround is confirmed working for other folks, so there's something particular about what you're doing that's causing your issue) -- for folks to help you, you'll have to provide more detail such as a full Dockerfile to reproduce; for example, are you doing apt-get update after you invoke sed? (https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get)

For further help adapting the above-mentioned workaround to your environment, I'd recommend trying user support channels such as the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

@tianon

This comment has been minimized.

Copy link
Contributor

@tianon tianon commented Mar 26, 2019

@tianon tianon closed this Mar 26, 2019
@tianon

This comment has been minimized.

Copy link
Contributor

@tianon tianon commented Mar 27, 2019

For any who haven't seen it, we're (somewhat long-since now) live!

$ docker run --rm debian:jessie-slim grep '^deb ' /etc/apt/sources.list
deb http://deb.debian.org/debian jessie main
deb http://security.debian.org/debian-security jessie/updates main
@tianon

This comment has been minimized.

Copy link
Contributor

@tianon tianon commented Mar 27, 2019

(Also, please migrate off Jessie ASAP -- the clock is ticking!!)

@marioguio

This comment was marked as off-topic.

Copy link

@marioguio marioguio commented Mar 29, 2019

i have this error:
sudo sed -i '/jessie-updates/d' /etc/apt/sources.list && apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
Exited with code 100

@tianon

This comment has been minimized.

Copy link
Contributor

@tianon tianon commented Mar 29, 2019

This issue has been resolved to the extent it is going to be.

For further support/assistance, I'd recommend trying the Docker Community Forums, the Docker Community Slack, or Stack Overflow.

@debuerreotype debuerreotype locked as resolved and limited conversation to collaborators Mar 29, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
8 participants
You can’t perform that action at this time.