Software Updater phased updates ignores APT::Machine-ID
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Triaged
|
Undecided
|
Unassigned | ||
Impish |
Confirmed
|
Undecided
|
Unassigned | ||
Jammy |
Confirmed
|
Undecided
|
Unassigned | ||
Kinetic |
Triaged
|
Undecided
|
Unassigned |
Bug Description
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://
500 http://
100 /var/lib/
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:
2) create a file "/etc/apt/
APT {
Machine-ID "0aac969489d35d
}
(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:/
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: update-manager 1:22.04.9
ProcVersionSign
Uname: Linux 5.15.0-39-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.1
Architecture: amd64
CasperMD5CheckR
CurrentDesktop: ubuntu:GNOME
Date: Mon Jun 20 14:43:08 2022
ExecutablePath: /usr/bin/
GsettingsChanges:
b'com.
b'com.
b'com.
b'com.
b'com.
InstallationDate: Installed on 2022-06-20 (0 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Release amd64 (20220419)
InterpreterPath: /usr/bin/python3.10
PackageArchitec
ProcEnviron:
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
Python3Details: /usr/bin/
PythonDetails: N/A
SourcePackage: update-manager
UpgradeStatus: No upgrade log present (probably fresh install)
That's correct yes, update-managers implementation predates the apt one and was not removed, so it does not respect that setting (well it does on the apt layer, but will then disable updates based on real machine ID again).