I just confirmed, that it is not the apt proxy I am using. I will now try the new automated installer instead of preseeding. Apparently it has something to do with the preseeding I did. Actually apt/apt-get/aptitude worked fine and have no problems to install packages. Just the ansible-apt module did not work. But since I no have a working setup based on the new automated installer (the playbook works there) closing this bug is fine.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1874195 Title: ansible is not able to install packages via apt on 20.04 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/ansible/+bug/1874195/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs