Empty pockets don't end up in the cache - E: The value 'hirsute-backports' is invalid for APT::Default-Release as such a release is not available in the sources

Bug #1928088 reported by Julian Andres Klode
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
New
Undecided
Unassigned

Bug Description

[Impact]
If a pocket is empty, apt will not download the empty packages files, causing the repository to not be added to the cache. This in turn breaks commands such as using apt install -t hirsute-backports as apt is unable to find the release in the archive.

[Test plan]
Assuming an empty pocket is around, use apt install -t <release>-<pocket> to see it's in the cache.

An appropriate test case for empty stuff should be added to the test suite as well (FIXME before SRUing), the test suite is extensive and prevents most regressions

[Where problems could occur]
TBD

[Other info]
Originally reported at https://www.reddit.com/r/Kubuntu/comments/n9vg9e/cant_make_backports_repo_for_hirsute_to_work/

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.