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

Install process for Debian 12 is broken #19847

Open
1 task done
CTI-Tim opened this issue Apr 22, 2024 · 5 comments
Open
1 task done

Install process for Debian 12 is broken #19847

CTI-Tim opened this issue Apr 22, 2024 · 5 comments
Labels
status/need-more-info Need more information about the issue/PR

Comments

@CTI-Tim
Copy link

CTI-Tim commented Apr 22, 2024

Is this a docs issue?

  • My issue is about the documentation content or website

Type of issue

Information is incorrect

Description

if the instructions are followed you get the following error

tim@NVR:~$ sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

Package docker-ce-cli is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'docker-ce' has no installation candidate
E: Package 'docker-ce-cli' has no installation candidate
E: Unable to locate package containerd.io
E: Couldn't find any package by glob 'containerd.io'
E: Couldn't find any package by regex 'containerd.io'
E: Unable to locate package docker-buildx-plugin
E: Unable to locate package docker-compose-plugin

Location

https://docs.docker.com/engine/install/debian/

Suggestion

Fix the documentation it so these errors do not occur

@CTI-Tim CTI-Tim added the status/triage Needs triage label Apr 22, 2024
@dvdksn
Copy link
Contributor

dvdksn commented Apr 22, 2024

Hello. Looks like maybe you haven't added the Docker APT repository.

sudo grep -rhE ^deb /etc/apt/sources.list* 

See step 1.

@dvdksn dvdksn added status/need-more-info Need more information about the issue/PR and removed status/triage Needs triage labels Apr 22, 2024
@CTI-Tim
Copy link
Author

CTI-Tim commented Apr 22, 2024

It shows it's there... from the commands on the page ran it entered the bottom one

tim@NVR:~$ sudo grep -rhE ^deb /etc/apt/sources.list*
deb http://deb.debian.org/debian/ trixie main non-free-firmware
deb-src http://deb.debian.org/debian/ trixie main non-free-firmware
deb http://security.debian.org/debian-security/ trixie-security main non-free-firmware
deb-src http://security.debian.org/debian-security/ trixie-security main non-free-firmware
deb http://deb.debian.org/debian/ trixie-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ trixie-updates main non-free-firmware
deb https://packages.cloud.google.com/apt coral-edgetpu-stable main
deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian trixie stable

Guessing the step 1 commands are not to be executed as they sit and need to be edited?

@dvdksn
Copy link
Contributor

dvdksn commented Apr 22, 2024

The issue title says Debian 12, but it looks like you're using Debian 13 (testing). There are no packages for Trixie at this time: https://download.docker.com/linux/debian/dists/

@CTI-Tim
Copy link
Author

CTI-Tim commented Apr 22, 2024

AHA Good point. I installed Debian 12 but made the mistake of updating the distro. Might be a good note to add to the page to not update debian 12. Will reinstall and make sure I dont update until after installing docker.

@CTI-Tim
Copy link
Author

CTI-Tim commented Apr 22, 2024

I installed debian 12 but it seems apt-get upgrade forced it to debian 13. Will reinstall OS and not update anything.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status/need-more-info Need more information about the issue/PR
Projects
None yet
Development

No branches or pull requests

2 participants