alvistack / ansible-role-podman

Ansible Role for Podman Installation
Apache License 2.0
62 stars 6 forks source link

Fails on ubuntu 22.04: No package matching 'containernetworking-plugins' is available #27

Open ahoereth opened 4 weeks ago

ahoereth commented 4 weeks ago

For me the installation fails with multiple packages not being found. Simply added as a role:

---
- name: config
  hosts: all
  become: true
  roles:
    - alvistack.podman

Am I adding the role wrong somehow? Also tried adding the individual alvistack.crun and alvistack.containers_common, but the failures look very similar with those.

TASK [alvistack.podman : include default variables] ********************************************************************************
ok: [localhost]

TASK [alvistack.podman : include release specific variables] ***********************************************************************
ok: [localhost] => (item=.../.ansible/roles/alvistack.podman/vars/ubuntu-22.04.yml)

TASK [alvistack.podman : include release specific tasks] ***************************************************************************
included: .../.ansible/roles/alvistack.podman/tasks/debian.yml for localhost => (item=.../.ansible/roles/alvistack.podman/tasks/debian.yml)

TASK [alvistack.podman : apt-key add] **********************************************************************************************
ok: [localhost] => (item={'keyring': '/etc/apt/trusted.gpg.d/home_alvistack.gpg', 'url': 'http://downloadcontent.opensuse.org/repositories/home:/alvistack/xUbuntu_22.04/Release.key', 'id': '789CFFDE0295B8A1F4E5690C4BECC97550D0B1FD', 'state': 'present'})

TASK [alvistack.podman : apt-add-repository] ***************************************************************************************
ok: [localhost] => (item={'filename': 'home:alvistack', 'repo': 'deb http://downloadcontent.opensuse.org/repositories/home:/alvistack/xUbuntu_22.04/ /', 'state': 'present'})

TASK [alvistack.podman : apt-get install] ******************************************************************************************
FAILED - RETRYING: [localhost]: apt-get install (3 retries left).
FAILED - RETRYING: [localhost]: apt-get install (2 retries left).
FAILED - RETRYING: [localhost]: apt-get install (1 retries left).
failed: [localhost] (item={'state': 'latest', 'name': 'containernetworking-dnsname'}) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": {"name": "containernetworking-dnsname", "state": "latest"}, "msg": "No package matching 'containernetworking-dnsname' is available"}
ok: [localhost] => (item={'state': 'latest', 'name': 'containernetworking-plugins'})
FAILED - RETRYING: [localhost]: apt-get install (3 retries left).
FAILED - RETRYING: [localhost]: apt-get install (2 retries left).
FAILED - RETRYING: [localhost]: apt-get install (1 retries left).
failed: [localhost] (item={'state': 'latest', 'name': 'containernetworking-podman-machine'}) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": {"name": "containernetworking-podman-machine", "state": "latest"}, "msg": "No package matching 'containernetworking-podman-machine' is available"}
ok: [localhost] => (item={'state': 'latest', 'name': 'podman'})
FAILED - RETRYING: [localhost]: apt-get install (3 retries left).
FAILED - RETRYING: [localhost]: apt-get install (2 retries left).
FAILED - RETRYING: [localhost]: apt-get install (1 retries left).
failed: [localhost] (item={'state': 'latest', 'name': 'podman-aardvark-dns'}) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": {"name": "podman-aardvark-dns", "state": "latest"}, "msg": "No package matching 'podman-aardvark-dns' is available"}
ok: [localhost] => (item={'state': 'latest', 'name': 'podman-docker'})
FAILED - RETRYING: [localhost]: apt-get install (3 retries left).
FAILED - RETRYING: [localhost]: apt-get install (2 retries left).
FAILED - RETRYING: [localhost]: apt-get install (1 retries left).
failed: [localhost] (item={'state': 'latest', 'name': 'podman-gvproxy'}) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": {"name": "podman-gvproxy", "state": "latest"}, "msg": "No package matching 'podman-gvproxy' is available"}
FAILED - RETRYING: [localhost]: apt-get install (3 retries left).
FAILED - RETRYING: [localhost]: apt-get install (2 retries left).
FAILED - RETRYING: [localhost]: apt-get install (1 retries left).
failed: [localhost] (item={'state': 'latest', 'name': 'podman-netavark'}) => {"ansible_loop_var": "item", "attempts": 3, "changed": false, "item": {"name": "podman-netavark", "state": "latest"}, "msg": "No package matching 'podman-netavark' is available"}
ok: [localhost] => (item={'state': 'latest', 'name': 'python3-podman-compose'})
ok: [localhost] => (item={'state': 'latest', 'name': 'uidmap'})

Thanks for any pointers!