For the first time, before rebooting my system asked me if i wanted to install an offline transaction, which was a surprise. So i chose Yes and it did, but now i’m wondering what it installed. How can find out?
If it was GNOME Software triggerring it on F41 Workstation, then dnf4 history info last
might be the command you’re searching (given that PackageKit still uses dnf4
as backend).
That gives me back this:
Transaction ID : 56
Begin time : do 27 feb 2025 18:58:14 CET
Begin rpmdb : 3f480d20850bd85e6efb9840154e1a27afed961c20f626df7890b3015315e137
End time : do 27 feb 2025 18:58:14 CET (0 seconds)
End rpmdb : 3f480d20850bd85e6efb9840154e1a27afed961c20f626df7890b3015315e137
User : Super User <root>
Return-Code : Success
Releasever :
Command Line :
Comment :
Packages Altered:
I have only used dnf from the command line recently, so i think it wasn’t triggered by Gnome Software. I wanted to do a regular reboot and the logout popup showed me a checkbox if i wanted to do an offline transaction.
Interesting. I wouldn’t suspect dnf
(as in dnf5
CLI tool) would store an offline transaction and ask for installation during reboot. That’s why I suspected GNOME Software, which I remember doing that when Automatic Software Updates are turned on.
dnf4 history
seems to reveal a transaction dated today though, but it’s strange that no packages were altered. Is the time of the transaction (do 27 feb 2025 18:58:14 CET
) consistent with the time of the reboot? Maybe dnf4 history list
shows other relevant transactions too?
EDIT: pkcon get-transactions
would be the command that shows the history of PackageKit, but it seems to be broken, as it crashes with segmentation fault.
I forgot to mention i’m currently on f42 which could mean it’s a new function?
I’ll add a tag to the opening post.
Yes! I’m seeing this back in the boot log, interesting:
feb 27 18:58:13 fedora systemd[1]: Reached target system-update-pre.target - Offline System Update (Pre).
feb 27 18:58:13 fedora systemd[1]: Starting dnf-system-upgrade.service - System Upgrade using DNF...
feb 27 18:58:13 fedora systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
feb 27 18:58:13 fedora boltd[1128]: bolt 0.9.8 starting up.
feb 27 18:58:13 fedora systemd[1]: Starting packagekit-offline-update.service - Update the operating system whilst offline...
feb 27 18:58:13 fedora bluetoothd[1127]: Bluetooth daemon 5.79
feb 27 18:58:13 fedora pk-offline-update[1141]: sent mode to plymouth 'updates'
feb 27 18:58:13 fedora pk-offline-update[1141]: sent msg to plymouth 'Installing updates; this could take a while...'
feb 27 18:58:13 fedora pk-offline-update[1141]: writing dummy results
feb 27 18:58:13 fedora systemd[1]: Started dbus-broker.service - D-Bus System Message Bus.
feb 27 18:58:13 fedora systemd[1]: Starting systemd-logind.service - User Login Management...
feb 27 18:58:13 fedora PackageKit[1157]: new update-packages transaction /5624_ecbddece scheduled from uid 0
feb 27 18:58:13 fedora PackageKit[1157]: uid 0 obtained auth for org.freedesktop.packagekit.package-install-untrusted
feb 27 18:58:13 fedora pk-offline-update[1141]: status wait
feb 27 18:58:13 fedora pk-offline-update[1141]: status setup
feb 27 18:58:13 fedora systemd-logind[1186]: New seat seat0.
feb 27 18:58:13 fedora systemd-logind[1186]: Watching system buttons on /dev/input/event0 (Lid Switch)
feb 27 18:58:13 fedora systemd-logind[1186]: Watching system buttons on /dev/input/event1 (Power Button)
feb 27 18:58:13 fedora systemd-logind[1186]: Watching system buttons on /dev/input/event2 (AT Translated Set 2 keyboard)
feb 27 18:58:13 fedora systemd[1]: Started systemd-logind.service - User Login Management.
feb 27 18:58:13 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=>
feb 27 18:58:13 fedora pk-offline-update[1141]: status query
feb 27 18:58:13 fedora dnf5[1139]: Trigger file does not exist. Exiting.
feb 27 18:58:13 fedora systemd[1]: dnf5-offline-transaction.service: Deactivated successfully.
feb 27 18:58:13 fedora systemd[1]: Finished dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
feb 27 18:58:13 fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=>
feb 27 18:58:13 fedora audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=d>
feb 27 18:58:13 fedora dnf-3[1138]: trigger file does not exist. exiting quietly.
feb 27 18:58:13 fedora pk-offline-update[1141]: percentage 0%
feb 27 18:58:13 fedora systemd[1]: dnf-system-upgrade.service: Deactivated successfully.
feb 27 18:58:13 fedora systemd[1]: Finished dnf-system-upgrade.service - System Upgrade using DNF.
feb 27 18:58:13 fedora pk-offline-update[1141]: status loading-cache
feb 27 18:58:13 fedora pk-offline-update[1141]: percentage 4%
feb 27 18:58:14 fedora pk-offline-update[1141]: percentage 9%
feb 27 18:58:14 fedora pk-offline-update[1141]: percentage 14%
feb 27 18:58:14 fedora pk-offline-update[1141]: sent msg to plymouth 'Installing Updates - 14%'
feb 27 18:58:14 fedora pk-offline-update[1141]: status request
feb 27 18:58:14 fedora pk-offline-update[1141]: percentage 17%
feb 27 18:58:14 fedora pk-offline-update[1141]: sent msg to plymouth 'Installing Updates - 17%'
feb 27 18:58:14 fedora pk-offline-update[1141]: status test-commit
feb 27 18:58:14 fedora pk-offline-update[1141]: status request
feb 27 18:58:14 fedora pk-offline-update[1141]: percentage 100%
feb 27 18:58:14 fedora PackageKit[1157]: update-packages transaction /5624_ecbddece from uid 0 finished with success after 883ms
feb 27 18:58:14 fedora pk-offline-update[1141]: sent msg to plymouth 'Installing Updates - 100%'
feb 27 18:58:14 fedora pk-offline-update[1141]: status finished
feb 27 18:58:14 fedora pk-offline-update[1141]: writing actual results
feb 27 18:58:14 fedora pk-offline-update[1141]: rebooting
feb 27 18:58:14 fedora pk-offline-update[1141]: sent mode to plymouth 'shutdown'
feb 27 18:58:14 fedora pk-offline-update[1141]: sent msg to plymouth 'Rebooting after installing updates…'
feb 27 18:58:14 fedora systemd[1]: packagekit-offline-update.service: Deactivated successfully.
feb 27 18:58:14 fedora systemd[1]: Stopped packagekit-offline-update.service - Update the operating system whilst offline.