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

Downgrading docker-ce on raspbian stretch on pi zero uninstalls #39

Open
technicalpickles opened this issue Aug 4, 2019 · 3 comments
Open

Comments

@technicalpickles
Copy link
Contributor

I ended up downgrading to Raspbian Stretch after running into #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?

@donkawechico
Copy link

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
Copy link

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.

@DavidDeSloovere
Copy link
Contributor

#38 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants