[Touch-packages] [Bug 1931874] Re: Failure to download packages with epochs (Regression from 2.1.15)
This bug was fixed in the package apt - 2.2.4ubuntu0.1 --- apt (2.2.4ubuntu0.1) hirsute; urgency=medium * Merge 2.2.4 from Debian unstable * Extend the JSON hook fixes with support for version 0.2 (LP: #1926150) - json: Add origins fields to version - upgrade: Add JSON hook support (AptCli::Hooks::Upgrade) - json: Add `package-list` and `statistics` install hooks - json: Hook protocol 0.2 (added upgrade,downgrade,reinstall modes) apt (2.2.4) unstable; urgency=medium [ Julian Andres Klode ] * Various bugfixes to the JSON hooks: - encoder fixes: + json: Escape strings using \u escape sequences, add test + json: Actually pop states + json: Encode NULL strings as null - json: Flush standard file descriptors before calling hooks (this avoids output from hooks in middle of apt output) - Non-installed JSON changes: + test/json: Make the test hook more reliable + Fix a typo in json-hooks-protocol.md (thanks to Brian Murray) * Avoid infinite loop on EOF on media change prompt (LP: #1928687) * Turn TLS handshake issues into transient errors (LP: #1928100), this makes behavior consistent with TCP and enables Acquire::Retries * policy: Apply phasing to uninstalled packages too (LP: #1925745), this prevents inconsistencies when installing new binaries that depend on the same version of an already installed binary. [ David Kalnischkies ] * URI encode Filename field of Packages files (again). This fixes a regression introduced in 2.1.15 that causes download failures of packages with an epoch included in their filename (LP: #1931874). -- Julian Andres Klode Mon, 14 Jun 2021 16:27:40 +0200 ** Changed in: apt (Ubuntu Hirsute) Status: Fix Committed => Fix Released -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Fix Released 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1931874] Re: Failure to download packages with epochs (Regression from 2.1.15)
verified by autopkgtests ** Tags removed: verification-needed verification-needed-hirsute ** Tags added: verification-done verification-done-hirsute -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Fix Committed 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1931874] Re: Failure to download packages with epochs (Regression from 2.1.15)
** Tags added: regression-release ** Changed in: apt (Ubuntu Hirsute) Importance: Undecided => High ** Changed in: apt (Ubuntu Impish) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Fix Committed 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp
[Touch-packages] [Bug 1931874] Re: Failure to download packages with epochs (Regression from 2.1.15)
Hello Julian, or anyone else affected, Accepted apt into hirsute-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apt/2.2.4ubuntu0.1 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users. If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed- hirsute to verification-done-hirsute. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-hirsute. In either case, without details of your testing we will not be able to proceed. Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping! N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days. ** Changed in: apt (Ubuntu Hirsute) Status: New => Fix Committed ** Tags added: verification-needed verification-needed-hirsute -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: Fix Committed 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp