alsu121
(Alexey Subbota)
October 7, 2025, 5:01pm
1
I prefer updating using dnf offline restart because it is more secure (I believe), but lately it has been hanging on 100% progress. I need to turn off the computer, although the name says that this cannot be done.
I’m afraid that I might break something, and it’s wrong.
Operating System: Fedora Linux 42
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Kernel Version: 6.16.10-200.fc42.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 16 × 11th Gen Intel® Core™ i7-11800H @ 2.30GHz
Memory: 32 ГиБ of RAM (31.0 ГиБ usable)
Graphics Processor 1: Intel® UHD Graphics
Graphics Processor 2: NVIDIA GeForce RTX 3060 Laptop GPU
Manufacturer: Micro-Star International Co., Ltd.
Product Name: Creator Z16 A11UE
System Version: REV:1.0
This is likely related to building the rpmfusion nvidia drivers after the kernel updates.
Does this fix itself if you wait long enough? Say 10 minutes?
alsu121
(Alexey Subbota)
October 8, 2025, 10:29am
3
I waited more than 10 minutes… My laptop is quite quick though
I can provide information from update logs if it exists, just say me how to
ср, 8 окт. 2025 г., 15:18 Barry A Scott via Fedora Discussion <notifications@fedoraproject.discoursemail.com >:
Then I think it’s an issue with akmods blocking the reboot.
Which I think is a known issue if you use akmods.
FYI personally I do the updates online then reboot.
I am not sure there is a security improvement doing the update offline.
Look for logs that say that reboot in inhibited would be my guess.
alsu121
(Alexey Subbota)
October 8, 2025, 5:01pm
7
I found the last offline update log:
окт 07 18:28:45 msi-alexey-fedora dnf5[974]: Warning: skipped OpenPGP checks for 102 packages from repositories: code, docker-ce-stable, updates
окт 07 18:28:45 msi-alexey-fedora dnf5[974]: Transaction complete! Cleaning up and rebooting...
окт 07 18:28:46 msi-alexey-fedora dnf5[974]: [org.freedesktop.DBus.Error.AccessDenied] Access denied due to active block inhibitor
окт 07 18:28:46 msi-alexey-fedora systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
окт 07 18:28:46 msi-alexey-fedora systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
окт 07 18:28:46 msi-alexey-fedora systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
окт 07 18:28:46 msi-alexey-fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf5-offline-transaction comm="systemd" exe="/usr/lib/systemd/systemd" hostnam>
окт 07 18:28:46 msi-alexey-fedora systemd[1]: dnf5-offline-transaction.service: Consumed 1min 39.509s CPU time, 3.9G memory peak.
окт 07 18:28:46 msi-alexey-fedora systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.
окт 07 18:28:46 msi-alexey-fedora systemd[1]: Reached target system-update.target - Offline System Update.
окт 07 18:28:46 msi-alexey-fedora systemd[1]: Starting dnf5-offline-transaction-cleanup.service - Offline upgrade/transaction using DNF 5 failed...
окт 07 18:28:46 msi-alexey-fedora systemd[1]: system-update-cleanup.service - Remove the Offline System Updates Symlink was skipped because no trigger condition checks were met.
окт 07 18:28:46 msi-alexey-fedora systemctl[41230]: Call to Reboot failed: Access denied
окт 07 18:28:46 msi-alexey-fedora systemd[1]: dnf5-offline-transaction-cleanup.service: Main process exited, code=exited, status=1/FAILURE
окт 07 18:28:46 msi-alexey-fedora systemd[1]: dnf5-offline-transaction-cleanup.service: Failed with result 'exit-code'.
окт 07 18:28:46 msi-alexey-fedora systemd[1]: Failed to start dnf5-offline-transaction-cleanup.service - Offline upgrade/transaction using DNF 5 failed.
окт 07 18:28:46 msi-alexey-fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf5-offline-transaction-cleanup comm="systemd" exe="/usr/lib/systemd/systemd">
окт 07 18:29:06 msi-alexey-fedora runuser[32674]: pam_unix(runuser:session): session closed for user akmods
окт 07 18:29:06 msi-alexey-fedora audit[32674]: USER_END pid=32674 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0 msg='op=PAM:session_close grantors=pam_keyinit,pam_limits,pam_unix acct>
окт 07 18:29:06 msi-alexey-fedora audit[32674]: CRED_DISP pid=32674 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0 msg='op=PAM:setcred grantors=pam_rootok acct="akmods" exe="/usr/bin/ru>
окт 07 18:29:06 msi-alexey-fedora kernel: kauditd_printk_skb: 101 callbacks suppressed
окт 07 18:29:06 msi-alexey-fedora kernel: audit: type=1106 audit(1759843746.433:222): pid=32674 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0 msg='op=PAM:session_close grantors=pam_key>
окт 07 18:29:06 msi-alexey-fedora kernel: audit: type=1104 audit(1759843746.433:223): pid=32674 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0 msg='op=PAM:setcred grantors=pam_rootok ac>
окт 07 18:29:14 msi-alexey-fedora audit[42254]: SOFTWARE_UPDATE pid=42254 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0 msg='op=install sw="kmod-nvidia-6.16.10-200.fc42.x86_64-3:580.82>
окт 07 18:29:14 msi-alexey-fedora kernel: audit: type=1138 audit(1759843754.150:224): pid=42254 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:unconfined_service_t:s0 msg='op=install sw="kmod-nvidia-6.16.10-20>
окт 07 18:29:14 msi-alexey-fedora systemd-inhibit[32648]: Building and installing nvidia-kmod[ ОК ]
окт 07 18:29:14 msi-alexey-fedora systemd[1]: Finished akmods@6.16.10-200.fc42.x86_64.service - Builds and install new kmods from akmod for a given kernel.
окт 07 18:29:14 msi-alexey-fedora audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=akmods@6.16.10-200.fc42.x86_64 comm="systemd" exe="/usr/lib/systemd/systemd" h>
окт 07 18:29:14 msi-alexey-fedora systemd[1]: Startup finished in 9.265s (firmware) + 5.388s (loader) + 1.040s (kernel) + 1.762s (initrd) + 2min 15.035s (userspace) = 2min 32.492s.
окт 07 18:29:14 msi-alexey-fedora kernel: audit: type=1130 audit(1759843754.386:225): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=akmods@6.16.10-200.fc42.x86_64 comm="systemd" exe=>
окт 07 18:49:01 msi-alexey-fedora systemd-logind[1040]: Power key pressed short.
[org.freedesktop.DBus.Error.AccessDenied] Access denied due to active block inhibitor what?