[Bug 1934100] Re: Setup Always-Include-Phased-Updates (for hirsute+)

Julian Andres Klode 1934100 at bugs.launchpad.net
Thu Jul 8 10:28:02 UTC 2021


bionic looks good, in fresh multipass VM:

[...]
Get:4 http://archive.ubuntu.com/ubuntu bionic-proposed/main amd64 autopkgtest all 5.3.1ubuntu1.1 [126 kB]                                                                                                                                                                                   
[...]
ubuntu at bionic:~$ autopkgtest-build-lxd  ubuntu:hirsute       
[...]
ubuntu at bionic:~$ lxc launch autopkgtest/ubuntu/hirsute/amd64 t
Creating t
Starting t
ubuntu at bionic:~$ lxc exec t cat /etc/apt/apt.conf.d/90always-include-phased-updates
APT::Get::Always-Include-Phased-Updates "true";
ubuntu at bionic:~$ lxc exec t apt-config dump | grep -i phased-updates
APT::Get::Always-Include-Phased-Updates "true";


** Tags removed: verification-needed-bionic
** Tags added: verification-done-bionic

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

Title:
  Setup Always-Include-Phased-Updates (for hirsute+)

Status in autopkgtest package in Ubuntu:
  Fix Released
Status in autopkgtest source package in Bionic:
  Fix Committed
Status in autopkgtest source package in Focal:
  Fix Committed
Status in autopkgtest source package in Hirsute:
  Fix Committed
Status in autopkgtest source package in Impish:
  Fix Released

Bug description:
  [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.

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



More information about the foundations-bugs mailing list