try autoinstall python-apt, if not available. Closes GH-4079.