[Bug 1931874] [NEW] Failure to download packages with epochs (Regression from 2.1.15)

Julian Andres Klode 1931874 at bugs.launchpad.net
Mon Jun 14 14:25:43 UTC 2021


Public bug reported:

[Impact]
Packages where the epoch is encoded in the filename cannot be retrieved, as we overlooked some places when changing the acquire system to always use % encoded URLs.

[Test plan]
A test is included in the comprehensive test suite.

[Where problems could occur]
Regressions could occur in places that download debs with filenames that need quoting or are already quoted. You can argue this also changes the API slightly, since ArchiveURI() now returns encoded URLs, rather than just appending the file path to the host. Although, this could actually improve things too.

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: Fix Released

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

** Affects: apt (Ubuntu Impish)
     Importance: Undecided
         Status: Fix Released

** Also affects: apt (Ubuntu Groovy)
   Importance: Undecided
       Status: New

** Also affects: apt (Ubuntu Hirsute)
   Importance: Undecided
       Status: New

** Also affects: apt (Ubuntu Impish)
   Importance: Undecided
       Status: New

** No longer affects: apt (Ubuntu Groovy)

** Changed in: apt (Ubuntu Impish)
       Status: New => Fix Released

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

Title:
  Failure to download packages with epochs (Regression from 2.1.15)

Status in apt package in Ubuntu:
  Fix Released
Status in apt source package in Hirsute:
  New
Status in apt source package in Impish:
  Fix Released

Bug description:
  [Impact]
  Packages where the epoch is encoded in the filename cannot be retrieved, as we overlooked some places when changing the acquire system to always use % encoded URLs.

  [Test plan]
  A test is included in the comprehensive test suite.

  [Where problems could occur]
  Regressions could occur in places that download debs with filenames that need quoting or are already quoted. You can argue this also changes the API slightly, since ArchiveURI() now returns encoded URLs, rather than just appending the file path to the host. Although, this could actually improve things too.

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



More information about the foundations-bugs mailing list