apt module fails to do apt-upgrade with cache_valid_time set and update_cache=yes #76210
Open
1 task done
Labels
affects_2.11
affects_2.13
bug
This issue/PR relates to a bug.
module
This issue/PR relates to a module.
needs_verified
This issue needs to be verified/reproduced by maintainer
P3
Priority 3 - Approved, No Time Limitation
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
Summary
Running an apt upgrade fails because the apt cache is out of date:
When I do an
apt update
by hand and then re-run the playbook it works. I suppose it could be that the 10 minute valid time is at issue; I don't think it's the case that I've been so unlucky as to have had this problem multiple times over multiple days. But I suppose that's possible.Issue Type
Bug Report
Component Name
apt
Ansible Version
Configuration
OS / Environment
Debian GNU/Linux 10 \n \l
Steps to Reproduce
Expected Results
I expected a successful apt upgrade
Actual Results
Code of Conduct
The text was updated successfully, but these errors were encountered: