Skip to content

Unable to install additional packages in the Docker image due to addition of backports repositoryΒ #3756

@LordAro

Description

@LordAro

Checklist

  • I confirm there are no unresolved issues reported on the Chocolatey Status page.
  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.
  • I confirm I am using official, and not unofficial, or modified, Chocolatey products.

What You Are Seeing?

I'm trying to use the docker image - chocolatey/choco:latest-linux, though I think any current (linux) tag matches

Because buster is now so old, apt no longer works:

$ apt -y update
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
Get:1 https://download.mono-project.com/repo/debian stable-buster/snapshots/6.12.0.182 InRelease [5888 B]
Ign:2 http://deb.debian.org/debian buster InRelease
Ign:3 http://deb.debian.org/debian-security buster/updates InRelease
Ign:4 http://deb.debian.org/debian buster-updates InRelease
Err:5 http://deb.debian.org/debian buster Release
  404  Not Found [IP: 199.232.58.132 80]
Err:6 http://deb.debian.org/debian-security buster/updates Release
  404  Not Found [IP: 199.232.58.132 80]
Err:7 http://deb.debian.org/debian buster-updates Release
  404  Not Found [IP: 199.232.58.132 80]
Get:8 https://download.mono-project.com/repo/debian stable-buster/snapshots/6.12.0.182/main amd64 Packages [48.8 kB]
Reading package lists...
E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file.
E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
W: Conflicting distribution: https://download.mono-project.com/repo/debian stable-buster/snapshots/6.12.0.182 InRelease (expected stable-buster/snapshots/6.12.0.182 but got buster)

Additionally, the mono image that it's based on was archived several months ago - https://github.com/mono/docker / mono/mono#21796 and is now several versions out of date. I had a bit of an explore but didn't immediately find an obvious replacement. Probably something microsoft/dotnet ?

What is Expected?

I should be able to run chocolatey within docker and install additional packages on a reasonably up to date Linux distro

How Did You Get This To Happen?

  1. docker run chocolatey/choco:latest-linux
  2. apt update -y

System Details

Installed Packages

None

Output Log

See above

Additional Context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions