-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug in cached dependencies for Ansible system environments #1719
Labels
Comments
Issue updateI made those changes but I have encountered a new bug/problem to be fixed. fatal: [wazuh-master]: FAILED! => changed=false
msg: 'Failed to update apt cache: W:This must be accepted explicitly before updates for this repository can be applied.
See apt-secure(8) manpage for details., E:Repository ''http://security.debian.org/debian-security buster/updates InRelease'' changed its ''Suite'' value from ''stable'' to ''oldstable'',
W:This must be accepted explicitly before updates for this repository can be applied.
See apt-secure(8) manpage for details., W:Repository ''http://deb.debian.org/debian buster InRelease'' changed its ''Version'' value from ''10.4'' to ''10.10'', E:Repository ''http://deb.debian.org/debian buster InRelease'' changed its ''Suite'' value from ''stable'' to ''oldstable'',
W:This must be accepted explicitly before updates for this repository can be applied.
See apt-secure(8) manpage for details., E:Repository ''http://deb.debian.org/debian buster-updates InRelease'' changed its ''Suite'' value from ''stable-updates'' to ''oldstable-updates''' Fixed it with a new block inside each
From man pages:
Im currently opening its PR. Regards, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The following error appears frequently when trying to build (using Ansible) the test environments for the system tests.
The problem seems to be that the address of the dependencies is cached but that address is no longer available:
wazuh-qa/tests/system/provisioning/agentless_cluster/roles/master-role/tasks/main.yml
Lines 2 to 16 in ef1723d
To fix this, simply add the following lines to all APT tasks in system environments:
This is already done in some places, for example in the X environment:
wazuh-qa/tests/system/provisioning/basic_cluster/roles/master-role/tasks/main.yml
Lines 2 to 19 in ef1723d
To do
The text was updated successfully, but these errors were encountered: