Skip to main content

How to Add Deprecated Debian Stretch Repositories

Overview

The following suites were deprecated and imported to archive.debian.org and are no longer available on the list of distributions as of 23 April 2023:

  • stretch

  • stretch-debug

  • stretch-proposed-updates

More details about this can be found on the following Debian.org page:

Does this impact my Docker Images that my team's projects use?

This can impact the now-deprecated circleci prefixed convenience images which reached EOL in 2021, any custom-built images, and third party images not provided by CircleCI with the cimg prefix.

Can I still use those suites after they were removed?

Yes - There are a few ways to accomplish this.

1. When building a Docker image, adding the following RUN command to add this new archived location to the sources.list

RUN echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list

2. At runtime during your CircleCI pipeline, add the following run step:

- run: echo "deb http://archive.debian.org/debian stretch main" > /etc/apt/sources.list

It is recommended that users who do not require a custom-built Docker image migrate to cimg images wherever possible. Doing so will remove the risk of changes such as this breaking pipelines.

Additional Resources:

Did this answer your question?