Public bug reported: [Impact] APT 2.2.4 and newer, in hirsute-proposed, apply phasing to non-installed packages as well, to fix bug 1925745. This causes autopkgtest to no longer retrieve source packages (apt-get source still works fine), and hence the tests to fail - example:
https://autopkgtest.ubuntu.com/results/autopkgtest- hirsute/hirsute/amd64/u/ubuntu-advantage- tools/20210618_132205_96afa@/log.gz We need to change setup-testbed to set APT::Get::Always-Include-Phased- Updates to true, as we did on the infrastructure and merged upstream in https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/125 We set this unconditionally, it's a no-op for older releases. [Test plan] Correctness of the APT::Get::Always-Include-Phased-Updates feature is checked by the APT test suite. We only need to validate that the correct line is being written to /etc/apt/apt.conf.d/90always-include-phased-updates. Run autopkgtest-build-lxd or autopkgtest-buildvm-ubuntu-cloud to create a new hirsute image and check that the file sets the option. [Where problems could occur] Syntax could be wrong, and hence building images could fail. Semantics should arguably be more correct, as Always-Include-Phased- Updates is the legacy apt behavior against which autopkgtest was developed. ** Affects: autopkgtest (Ubuntu) Importance: Undecided Status: Fix Committed ** Affects: autopkgtest (Ubuntu Bionic) Importance: Undecided Status: New ** Affects: autopkgtest (Ubuntu Focal) Importance: Undecided Status: New ** Affects: autopkgtest (Ubuntu Hirsute) Importance: Undecided Status: In Progress ** Affects: autopkgtest (Ubuntu Impish) Importance: Undecided Status: Fix Committed ** Description changed: [Impact] APT 2.2.4 and newer, in hirsute-proposed, apply phasing to non-installed packages as well, to fix bug 1925745. This causes autopkgtest to no longer retrieve source packages (apt-get source still works fine), and hence the tests to fail - example: https://autopkgtest.ubuntu.com/results/autopkgtest- hirsute/hirsute/amd64/u/ubuntu-advantage- tools/20210618_132205_96afa@/log.gz We need to change setup-testbed to set APT::Get::Always-Include-Phased- Updates to true, as we did on the infrastructure and merged upstream in https://salsa.debian.org/ci-team/autopkgtest/-/merge_requests/125 [Test plan] Correctness of the APT::Get::Always-Include-Phased-Updates feature is checked by the APT test suite. We only need to validate that the correct line is being written to /etc/apt/apt.conf.d/90always-include-phased-updates. Run autopkgtest-build-lxd or autopkgtest-buildvm-ubuntu-cloud to create - a new image and check that the file sets the option. + a new hirsute image and check that the file sets the option. [Where problems could occur] Syntax could be wrong, and hence building images could fail. Semantics should arguably be more correct, as Always-Include-Phased- Updates is the legacy apt behavior against which autopkgtest was developed. ** Also affects: autopkgtest (Ubuntu Hirsute) Importance: Undecided Status: New ** Also affects: autopkgtest (Ubuntu Focal) Importance: Undecided Status: New ** Also affects: autopkgtest (Ubuntu Impish) Importance: Undecided Status: New ** Also affects: autopkgtest (Ubuntu Bionic) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1934100 Title: Setup Always-Include-Phased-Updates (for hirsute+) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1934100/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs