Bug 2232132

Summary: Offline updates do not update, no error shown
Product: [Fedora] Fedora Reporter: Milan Crha <mcrha>
Component: PackageKitAssignee: Richard Hughes <rhughes>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: gnome-sig, rdieter, rhughes
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Milan Crha 2023-08-15 14:22:15 UTC
This is with PackageKit-1.2.6-8.fc39.x86_64.

I open gnome-software in Updates page and I've offered two applications and several packages for update. I click Download, which ends lighting fast, and I'm offered with "Restart & Install". So far so good. Even `pkcon offline-get-prepared` lists several packages for update. I trigger the update with `pkcon offline-trigger` or click the `Restart & Install` in the gnome-software and then restart the machine. I see the offline update progress and then another machine restart, and when it boots and I log in, I check gnome-software and the Updates page still claims the same apps to be updated - the update did not work, but there is no error message anywhere. There is a new `/var/lib/PackageKit/offline-update-competed` , which contains only these three lines:

   [PackageKit Offline Update Results]
   Success=true
   Role=update-packages

There is no package name in the file, no error message, nothing.

When I run `dnf update` I get a similar list of packages to be updated. When I run `pkcon update` I get "nothing to update", but it can be my fault, because I also played a bit with the internal files in a hope to start the update process from fresh, in case I've broken those files.

Reproducible: Always