A simple but ugly way we could work around this would be to do the apt-get dist-upgrade inside a private mounts namespace (using lxc-unshare -s MOUNT -- chroot "$1/partial-${arch}" apt-get dist-upgrade -y)
A simple but ugly way we could work around this would be to do the apt-get dist-upgrade inside a private mounts namespace (using lxc-unshare -s MOUNT -- chroot "$1/partial- ${arch} " apt-get dist-upgrade -y)