[Bug 1979238] [NEW] Software Updater phased updates ignores APT::Machine-ID

Launchpad Bug Tracker 1979238 at bugs.launchpad.net
Mon Oct 3 21:25:15 UTC 2022


You have been subscribed to a public bug by Matthieu Clemenceau (mclemenceau):

Environment:

$ lsb_release -rd
Description:	Ubuntu 22.04 LTS
Release:	22.04
$ apt-cache policy update-manager
update-manager:
  Installed: 1:22.04.9
  Candidate: 1:22.04.9
  Version table:
 *** 1:22.04.9 500
        500 http://us.archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu jammy/main i386 Packages
        100 /var/lib/dpkg/status


Steps to reproduce:

1) On an Ubuntu 22.04 system with all non-phased updates installed,
check output of `apt list --upgradable` and `apt -o='Apt::Get::Always-
Include-Phased-Updates=true' list --upgradable`.  Make sure these
outputs differ: there should be some phased updates, and some should not
yet be phased in for this system.

2) create a file "/etc/apt/apt.conf.d/01aaa-synced-machineid" with the
following contents -

APT {
  Machine-ID "0aac969489d35d412431192762b0beff";
}

(That UUID was chosen by running `dbus-uuidgen` until it produced a UUID
that, when placed there, changed the output of `apt list --upgradable`.)

3) Verify with `apt list --upgradable` that the list of available phased
upates is now different.

4) Run Software Updater and look at the list of available updates it
offers.


Expected results:

At (4), Software Updater should offer the same set of updates that `apt
list --upgradable` shows at (3).


Actual results:

At (4), Software Updater offers the set of updates that were offered at
(1).  It seems to completely ignore APT::Machine-ID, despite that being
the official recommended way to synchronize phased updates across
multiple machines - https://discourse.ubuntu.com/t/phased-updates-in-
apt-in-21-04/20345

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: update-manager 1:22.04.9
ProcVersionSignature: Ubuntu 5.15.0-39.42-generic 5.15.35
Uname: Linux 5.15.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 20 14:43:08 2022
ExecutablePath: /usr/bin/update-manager
GsettingsChanges:
 b'com.ubuntu.update-manager' b'first-run' b'false'
 b'com.ubuntu.update-manager' b'launch-count' b'3'
 b'com.ubuntu.update-manager' b'launch-time' b'int64 1655750563'
 b'com.ubuntu.update-manager' b'show-details' b'true'
 b'com.ubuntu.update-manager' b'window-width' b'593'
InstallationDate: Installed on 2022-06-20 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
InterpreterPath: /usr/bin/python3.10
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Python3Details: /usr/bin/python3.10, Python 3.10.4, python3-minimal, 3.10.4-0ubuntu2
PythonDetails: N/A
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: Triaged

** Affects: update-manager (Ubuntu Impish)
     Importance: Undecided
         Status: Confirmed

** Affects: update-manager (Ubuntu Jammy)
     Importance: Undecided
         Status: Confirmed

** Affects: update-manager (Ubuntu Kinetic)
     Importance: Undecided
         Status: Triaged


** Tags: amd64 apport-bug fr-2487 jammy
-- 
Software Updater phased updates ignores APT::Machine-ID
https://bugs.launchpad.net/bugs/1979238
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to the bug report.



More information about the foundations-bugs mailing list