diff -Nru docker.io-20.10.2/debian/changelog docker.io-20.10.2/debian/changelog --- docker.io-20.10.2/debian/changelog 2021-01-15 07:30:18.000000000 -0600 +++ docker.io-20.10.2/debian/changelog 2021-02-23 14:22:13.000000000 -0600 @@ -1,3 +1,10 @@ +docker.io (20.10.2-0ubuntu2) hirsute; urgency=medium + + * Add a preinst check for aufs storage-driver to fail the upgrade. + (LP: #1907713) + + -- William 'jawn-smith' Wilson Tue, 23 Feb 2021 14:22:13 -0600 + docker.io (20.10.2-0ubuntu1) hirsute; urgency=medium * New upstream release. diff -Nru docker.io-20.10.2/debian/docker.io.preinst docker.io-20.10.2/debian/docker.io.preinst --- docker.io-20.10.2/debian/docker.io.preinst 1969-12-31 18:00:00.000000000 -0600 +++ docker.io-20.10.2/debian/docker.io.preinst 2021-02-23 14:22:13.000000000 -0600 @@ -0,0 +1,12 @@ +#!/bin/sh +set -e + +for aufs_dir in "/var/lib/docker/aufs" "/var/snap/docker/common/var-lib-docker/aufs"; do + if [ -e "$aufs_dir" ]; then + echo "The aufs storage-driver is no longer supported." + echo "Please ensure that none of your containers are " + echo "using the aufs storage driver, remove the directory " + echo "$aufs_dir and try again." + exit 1 + fi +done