Univention Bugzilla – Bug 50259
Update to UCS 4.4-2 stops when /var/lib/docker/aufs exists
Last modified: 2019-10-29 10:50:25 CET
In https://help.univention.com/t/13088 and Ticket#2019092421000927 the update to UCS 4.4-2 fails. The docker.io package cannot be updated with the following error: updater.log: Fehler traten auf beim Bearbeiten von: docker.io ^MReading package lists... 0%^M^MReading package lists... 100%^M^MReading package lists... Done ^MBuilding dependency tree... 0%^M^MBuilding dependency tree... 0%^M^MBuilding dependency tree... 50%^M^MBuilding dependency tree... 50%^M^MBui$ ^MReading state information... 0%^M^MReading state information... 0%^M^MReading state information... Done E: Sub-process /usr/bin/dpkg returned an error code (1) Error: Failed to execute "apt-get -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-overwrite -o DPkg::Options::=--force-overwrite-$ exitcode of univention-updater: 1 In the forum it is mentioned that the existence of /var/lib/docker/aufs indicates the problem will occur during the update.
*** Bug 50260 has been marked as a duplicate of this bug. ***
# Remove directory if they are empty: find /var/lib/docker/aufs -empty -delete # If the directory still exists, at least one container is still using AUFS if [ -d /var/lib/docker/aufs] then # Tell user how to convert from aufs to overlay fi # Work-around is to force 'overlay'f for now: echo '{"storage-driver": "overlay"}' > /etc/docker/daemon.json PS: overlay is also deprecated, but 'overlay2' is not yet available? <https://docs.docker.com/storage/storagedriver/select-storage-driver/>
OK: 4.4/maintained/4.4-2/all/preup.sh[.gpg] for now block the update
A fix for the issue is worked on at Bug 50261
Released updated preup.sh