Skip to content

Disable apt cache updates when removing repositories from sources.list #432

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

Merged
merged 1 commit into from
May 28, 2025

Conversation

Normo
Copy link
Member

@Normo Normo commented May 28, 2025

Fixes the following error during apt repository removal:

TASK [hifis.toolkit.gitlab : Remove GitLab APT repository from sources.list] ***
[WARNING]: Failed to update cache after 1 due to  retry, retrying
[WARNING]: Sleeping for 2 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 2 due to  retry, retrying
[WARNING]: Sleeping for 3 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 3 due to  retry, retrying
[WARNING]: Sleeping for 5 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 4 due to  retry, retrying
[WARNING]: Sleeping for 9 seconds, before attempting to update the cache again
[WARNING]: Failed to update cache after 5 due to  retry, retrying
[WARNING]: Sleeping for 13 seconds, before attempting to update the cache again
fatal: [gitlab-staging1]: FAILED! => 
    changed: false
    msg: 'Failed to update apt cache after 5 retries: '

@Normo Normo added this to the v6.0.0 milestone May 28, 2025
@Normo Normo self-assigned this May 28, 2025
@github-actions github-actions bot added zammad Related to role hifis.zammad gitlab Related to hifis.gitlab role labels May 28, 2025
@Normo Normo added the bug Something isn't working label May 28, 2025
@Normo Normo requested a review from tobiashuste May 28, 2025 11:23
Signed-off-by: Norman Ziegner <n.ziegner@hzdr.de>
@Normo Normo force-pushed the fix-apt-repository-removal branch from 668732c to 2f063ac Compare May 28, 2025 11:33
@Normo Normo marked this pull request as ready for review May 28, 2025 11:33
@Normo Normo requested a review from a team as a code owner May 28, 2025 11:33
@Normo Normo merged commit 5eac249 into hifis-net:main May 28, 2025
12 checks passed
@Normo Normo deleted the fix-apt-repository-removal branch May 28, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gitlab Related to hifis.gitlab role zammad Related to role hifis.zammad
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants