Garret
Thanks for sharing issue + solution. This renders my planned tests on VM obsolete .
it has already been mentioned several times that what you wrote was tried.
iaresee just joined the conversation and I better ask one time too often then doing further research while solution was just overseen .
Hmm okay, if the repo currently ships a broken version on RPi, question is how we handle in upcoming DietPi release:
The GitHub issue is 2 weeks old now. Hope that it will be resolved soon and leave our installer is as? Of course inform users about the external bug.
Install the old version for now on RPi to have a working installer and revert to most current version on next release, after issue was fixed? (I vote for this!) Needs apt-mark hold then as well.
Block Docker install on RPi for now? Most properly not desired option, since above is possible .
Never hurts to ask! It looks like this is an upstream break though so possibly pinning to an older version or blocking it for now makes the most sense.
According to discussion it seems to a ARMv6 issue only (RPi0+1). But you use an RPi3, right? Would be good to know for which devices/architectures exactly we need to pin the version.
If you guys can verify this works (v18.09.0 is not installed), then I will add it to a hotfix update tonight, that is required for another more critical issue anyway.
Sadly I have no RPi free for testing and Fourdee is away for some days.
I could some testing on the rpi1 when I get my rpi3 from Wednesday-Thursday because right now I have all my setup there and cannot play too much. Sorry.
The test can be done safely without risking any system change:
mv /etc/apt/preferences.d/docker-ce /mnt/dietpi_userdata/docker-ce.bak
cat << _EOF_ > /etc/apt/preferences.d/docker-ce
Package: docker-ce
Pin: version 18.09.0*
Pin-Priority: -1
_EOF_
apt upgrade
# Now check, whether docker-ce update to v18.09.0 is offered or not.
# If it is offered, simply press "n" (or anything NOT "y") to abort and revert via:
mv /mnt/dietpi_userdata/docker-ce.bak /etc/apt/preferences.d/docker-ce
# Else you can remove the backup
rm /mnt/dietpi_userdata/docker-ce.bak
But I fully understand, if you don’t want to play with your running system .
docker-ce-cli is not available for this lower version. Is this an issue or is it included in the main package that lower version? The same for containerd.io, will will be removed as obsolete after downgrade, at least here on Debian Stretch. But should be the same on Raspbian.
iaresee Garret
We just released v6.19.7 which hotfixes the docker issue. On this update, just pre-patches run, like it was for v6.19.6, so no reboot required, no full APT update and DietPi core code download/merge done.
The preferences.d file is named dietpi-docker_fix, so you might want to remove your preferences.d/docker-ce. The one provided with the update allows APT do update, as fast as a new version is available in the repo. I hope/expect a new version will fix the issue on RPi.
MichaIng I seem be running a-okay with this update. No need to reboot after patching and docker-ce is happy with the apt preferences file that’s be deposited. I moved aside the existing file I had.