Current apt behavior also breaks official debian docker images, I reported this here: https://github.com/debuerreotype/debuerreotype/pull/153 . The images' developer said this is apt completion scripts' problem -- Askar Safin