Docker on trixie

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | 9.16.3
  • Distro version | trixie 1
  • Kernel version | 6.1.21+ #1642 Mon Apr 3 17:19:14 BST 2023 armv6l GNU/Linux
  • Architecture | armhf
  • SBC model | RPi Zero W (armv6l)
  • Power supply used | Official power brick
  • SD card used | Sandisk Ultra

Additional Information (if applicable)

  • Software title | Docker
  • Was the software title installed freshly or updated/migrated? Upgraded
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a ā€œdietpi-bugreportā€, please paste the ID here →
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. I upgraded to trixie with the official script
  2. I see that /etc/apt/sources.list.d/docker.list shows: deb Index of linux/raspbian/ trixie main
  3. But there is no trixie directory on Index of linux/raspbian/

Expected behaviour

  • Probably a docker problem?

Actual behaviour

Extra details

  • Can I change raspbian to debian in the mean time?

you can try changing from Trixie to Bookworm. But I would not change to Debian.

Thanks Joulinar. I think I will wait and monitor if the directory appears on docker.com

The script intentionally reverts the Docker repo to the bookworm suite in case of ARMv6, which works well, as far as I tested.

Generally: you only ever need to manually revert trixie to bookworm when using 3rd party repos which do not have a trixie suite yet. But you should never need to manually change them from bookworm to trixie. If the script reverts it, then because the trixie suite does not exist yet, and hence you would run into the issue you do now run into :wink:. I do somewhat regularly check back the status, and once the trixie suite does become available for those known cases, the respective next DietPi update will perform that switch automatically.

EDIT: Ah, sorry, the upgrade script checks for the wrong list name dietpi-docker.list instead of docker.list, as we did not apply the convention there. I’ll fix that just now. So the correct fix right now is:

sed --follow-symlinks -i 's/trixie/bookworm/g' /etc/apt/sources.list.d/docker.list

Fixed with: dietpi-trixie-upgrade: fix Docker APT list name Ā· MichaIng/DietPi@b897f3b Ā· GitHub

1 Like

Thank you MichaIng. In the end, I changed the /etc/apt/sources.list.d/docker.list file to read:

deb https://download.docker.com/linux/raspbian/ bookworm stable

and it didn’t complain.

Edit: formating problems with https code

1 Like