[Bug 1928088] [NEW] 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

Julian Andres Klode 1928088 at bugs.launchpad.net
Tue May 11 13:17:34 UTC 2021


Public bug reported:

[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/

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

** Description changed:

  [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/

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1928088

Title:
  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

Status in apt package in Ubuntu:
  New

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/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1928088/+subscriptions



More information about the foundations-bugs mailing list