Revert "Temporarily work around an APT regression."

This reverts commit 4c7bebadefd3cb47883a4f82806cca7428a667b9.

The original issue (#7055) has been fixed in commit 16f1170.