Public bug reported:

Ubuntu release: 26.04
Architecture: arm64
PackageKit version: 1.3.4-3ubuntu1.2
PackageKit backend: apt

PackageKit reports phased updates as available although APT correctly
defers them because of Ubuntu's phased-update mechanism.

In my case this affects Nautilus.

Installed version:
  nautilus 1:50.0-0ubuntu2

Candidate version:
  nautilus 1:50.2.2-0ubuntu0.1

`apt-cache policy nautilus` shows the candidate from resolute-updates with:
  (phased 0%)

Running:

  apt -s upgrade

correctly reports:

  Noch keine Aktualisierung wegen Phasenstufung:
    libnautilus-extension4
    nautilus
    nautilus-data

and does not propose installing these packages.

However, running:

  pkgcli list-updates

reports all three packages as available updates:

  libnautilus-extension4 1:50.2.2-0ubuntu0.1.arm64
  nautilus 1:50.2.2-0ubuntu0.1.arm64
  nautilus-data 1:50.2.2-0ubuntu0.1.all

The Ubuntu App Center consequently also shows "Files" as an available
update. Clicking Update does not install the update, and the update
remains displayed afterwards.

Expected behavior:
PackageKit's APT backend should respect APT's phased-update decision. Packages 
currently deferred by APT because of phasing should not be returned by `pkgcli 
list-updates` as normal available updates. Consequently, the Ubuntu App Center 
should not offer such an update for installation.

Actual behavior:
PackageKit lists the phased/deferred packages as available updates even though 
APT correctly excludes them from the upgrade.

Steps to reproduce:
1. Have an Ubuntu phased update that is currently deferred for the system.
2. Verify with `apt -s upgrade` that APT defers the package because of phasing.
3. Run `pkgcli list-updates`.
4. Observe that PackageKit nevertheless lists the deferred package as an 
available update.

This is reproducible on Ubuntu 26.04 arm64 with PackageKit
1.3.4-3ubuntu1.2 using the APT backend.

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: packagekit 1.3.4-3ubuntu1.2
ProcVersionSignature: Ubuntu 7.0.0-1017.17-raspi 7.0.12
Uname: Linux 7.0.0-1017-raspi aarch64
ApportVersion: 2.34.1-0ubuntu0.1
Architecture: arm64
CasperMD5CheckResult: unknown
CloudArchitecture: aarch64
CloudID: none
CloudName: none
CloudPlatform: none
CloudSubPlatform: config
CurrentDesktop: ubuntu:GNOME
Date: Sat Aug 29 08:54:18 2026
ImageMediaBuild: 20260423
SourcePackage: packagekit
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.dbus-1.system.d.org.freedesktop.PackageKit.conf: 
[deleted]

** Affects: packagekit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug arm64 arm64-image raspi-image resolute wayland-session

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

Title:
  PackageKit lists phased updates that APT correctly defers

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to