magic-cards icon indicating copy to clipboard operation
magic-cards copied to clipboard

Downgrading docker-ce on raspbian stretch on pi zero uninstalls

Open technicalpickles opened this issue 6 years ago • 3 comments

I ended up downgrading to Raspbian Stretch after running into https://github.com/maddox/magic-cards/issues/38 ... and I'm seeing a different set of problems 😂

root@raspberrypi:~#  apt-get install docker-ce=18.06.2~ce~3-0~raspbian
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
  containerd.io
Use 'apt autoremove' to remove it.
Recommended packages:
  aufs-tools cgroupfs-mount | cgroup-lite pigz
The following packages will be REMOVED:
  docker-ce-cli
The following packages will be DOWNGRADED:
  docker-ce
0 upgraded, 0 newly installed, 1 downgraded, 1 to remove and 82 not upgraded.
1 not fully installed or removed.

The docker service runs, but now there is no docker cli 🙃

apt-cache madison docker-ce-cli doesn't show a matching version. Maybe they deleted a bunch of the versions at some point?

technicalpickles avatar Aug 04 '19 18:08 technicalpickles

Seeing the same thing here. Currently trying to install via sudo apt-get install docker-ce docker-ce-cli containerd.io, but I assume it will fail since it's installing an upgraded version of docker-ce.

But maybe downgrading after installing the "proper" version will unblock. We'll see!

donkawechico avatar Aug 05 '19 05:08 donkawechico

UPDATE: I was able to get docker working locally on raspberry pi Zero W using the following instructions (but I used the latest 18.06.3 version of docker-ce instead of 18.06.2):

https://abelperezmartinez.blogspot.com/2019/02/how-to-install-docker-on-raspbian-stretch.html

Although I did get an error at the end of running this command: sudo apt-get install docker-ce=18.06.3~ce~3-0~raspbian containerd.io

I suspect it's because I didn't need to add the "containerd.io" package at the end; I was just following the instructions from docker, but the instructions are a little out-of-date since apparently you no longer need to install docker-ce-cli.

Anyway, give the above instructions a try and see if that works.

donkawechico avatar Aug 05 '19 21:08 donkawechico

https://github.com/maddox/magic-cards/issues/38#issuecomment-521372664

DavidDeSloovere avatar Aug 14 '19 18:08 DavidDeSloovere