Closed abalage closed 1 month ago
For the sake of completeness here are the before-after logs.
before
TASK [Install package dependencies (Debian family)] ***************************************************************************************************************************************************************
kedd 07 március 2023 20:25:17 +0100 (0:00:00.025) 0:00:12.251 **********
kedd 07 március 2023 20:25:17 +0100 (0:00:00.025) 0:00:12.251 **********
fatal: [foo2.bar]: FAILED! => {"cache_update_time": 1672743859, "cache_updated": false, "changed": false, "msg": "'/usr/bin/apt-get -y -o \"Dpkg::Options::=--force-confdef\" -o \"Dpkg::Options::=--
force-confold\" install 'gnupg=2.2.19-3ubuntu2.2'' failed: E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libk/libksba/libksba8_1.3.5-2ubuntu0.20.04.1_amd64.deb 404 Not Found [IP: 45.67.1
59.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libroken18-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.
ubuntu.com/ubuntu/pool/main/h/heimdal/libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libheimbas
e1-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 40
4 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libwind0-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to
fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/m
ain/h/heimdal/libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libheimntlm0-heimdal_7.7.0+dfsg-1
ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libgssapi3-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.
159.244 80]\nE: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?\n", "rc": 100, "stderr": "E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/libk/libksba/libksba8_1
.3.5-2ubuntu0.20.04.1_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libroken18-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found
[IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libasn1-8-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http
://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libheimbase1-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/hei
mdal/libhcrypto4-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libwind0-heimdal_7.7.0+dfsg-1ubuntu1.2_am
d64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libhx509-5-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\
nE: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/h/heimdal/libkrb5-26-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found [IP: 45.67.159.244 80]\nE: Failed to fetch http://security.ubuntu.com/
ubuntu/pool/main/h/heimdal/libheimntlm0-heimdal_7.7.0+dfsg-1ubuntu1.2_amd64.deb 404 Not Found
...
after
TASK [geerlingguy.docker : Ensure additional dependencies are installed (on Ubuntu >= 20.04).] ********************************************************************************************************************
kedd 07 március 2023 20:22:34 +0100 (0:00:00.028) 0:00:05.383 **********
kedd 07 március 2023 20:22:34 +0100 (0:00:00.028) 0:00:05.383 **********
changed: [foo1.bar]
changed: [foo2.bar]
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
Not stale. Fix is provided, does not break anything but fixes reported issues.
This issue is no longer marked for closure.
I got this too sadly. Following the ansible for kubernetes book.
As a workaround use the following task maybe as pre_tasks
in your main playbook where you would normally invoke this role.
- name: Update package cache.
ansible.builtin.apt:
update_cache: true
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
I apologize. wrong issue page
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
Hi,
Installing the role on stock Ubuntu 20.04 fails because of outdated package cache. Explicitly asking for cache update in task "Ensure dependencies are installed." solves the problem.
I have found older issues mentioning this before.
286
398
Providing a single line change to fix it.
ps.: Thanks Jeff for your awesome work.