apt-get update
fails cause 'Suite' changed from 'stable' to 'oldstable' #5
Labels
No Label
bugfix
cleanup
discussion
documentation
doing
done
feature
improvement
packaging
Stale
testing
TODO
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: ungleich-public/cdist#5
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
After the bullseye release, the Debian repos changed there releaseinfo's accordingly and now an non-interactive
apt-get update
aborts because the suite changed and waits for acknowledgment. This aborts each cdist run which updates the package index till you run it yourself and interactively acknowledge that.The abort looks like:
As documented in Debian bug #931566, it was fixed for unstable at Tue, 11 Aug 2020 14:28:07 +0200 (ver. 2.1.10) and for Buster at Mon, 19 Apr 2021 18:41:13 +0200 (cherry-picked to ver. 1.8.2.3), meaning that all Debians that did an update after this date work fine. If they didn't updated
apt
after this date, they get these aborts.For the affected machines, we could do following: to automatically acknowledge it,
apt-get
has an option for it (apt-get(8)
OPTIONS):To avoid breaking old
apt
versions that don't support these arguments, they can be called with-o
which ignores unknown configurations.It would mean we need to patch following types because they use
apt-get update
:I don't know the number of affected hosts, but it's a lot from my containers because I don't run
apt-get upgrade
's regularly (which would install the new apt version). I think it depends on each upgrade policy if the new apt version was installed or not.For the question if we need all these types, I would open a new issue for it.
fixed as all MRs merged
reviewed all four PRs, LGTM
mentioned in issue #862
I'm finished with creating all the MR's where I also added a comment why it was added and a comment to the redundant
apt-get update
calls.mentioned in merge request !1023
mentioned in merge request !1022
mentioned in merge request !1021
mentioned in merge request !1020
changed the description
I wonder if the types could be refactored so that all
apt-get update
ing is done in__apt_update_index
.