Bug 2529146

Summary: dnf5 doesn't install pending updates (indefinite loop)
Product: [Fedora] Fedora Reporter: Héctor Louzao <louzaoh>
Component: dnf5Assignee: rpm-software-management
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: unspecified    
Version: 44CC: jonathan, mcatanza, mcrha, pkratoch, ppisar, rpm-software-management, tor
Target Milestone: ---Keywords: Desktop, Regression, Upgrades
Target Release: ---Flags: fedora-admin-xmlrpc: mirror+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
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 Héctor Louzao 2026-09-06 09:46:43 UTC
Every time there are pending updates, when I restart gnome-shell, a screen appears indicating that pending updates need to be installed. I restart gnome-shell, it tries to install the pending updates, restarts again, and so on, an indefinite loop.

this is the message from the log:

2026-09-06 11:25:51     WARNING init.scope      dnf5-offline-transaction.service: Failed with result 'exit-code'.                                    │ │
2026-09-06 11:25:51     ERR     init.scope      Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.

systemctl status dnf5-offline-transaction.service

○ dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5
     Loaded: loaded (/usr/lib/systemd/system/dnf5-offline-transaction.service; disabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: inactive (dead)
       Docs: https://www.freedesktop.org/wiki/Software/systemd/SystemUpdates

Reproducible: Always

Steps to Reproduce:
1.dnf upgrade
2.restart gnome-shell installing and updates pending
3.don't install nothing
4.restart gnome-shell installing and updates pending same message again
5.undefined loop
Actual Results:
dnf5 doesn't install pending updates, I remember this used to work for me.

Expected Results:
dnf5 install pending updates on reboot

Additional Information:
sudo dnf offline status

The system has been modified since the offline transaction was prepared. The offline transaction initiated by the following command is no longer valid:
  dnf5daemon-server
To reschedule, run the command above. To clean up, run `dnf5 offline clean`.

rpm -qa dnf5\*

dnf5-5.4.3.0-2.fc44.x86_64
dnf5daemon-server-5.4.3.0-2.fc44.x86_64
dnf5daemon-server-polkit-5.4.3.0-2.fc44.noarch
dnf5-plugins-5.4.3.0-2.fc44.x86_64

sudo dnf offline log

The following boots appear to contain offline transaction logs:
1 / e8c3e9c328154789a194a74db500c63a: 2026-04-28 14:46:21 43→44
2 / 345cc55632cc42b1b5ac0cdf51e4b459: 2026-05-17 17:16:07 44→44
3 / 925a80a1cd02400ba4e39f067df635c1: 2026-05-21 18:22:06 44→44
4 / 085604dc28a6446e91c61e4d2831be2d: 2026-06-05 18:41:47 44→44
5 / a2a57f7d34ba4e599a3d047e3a4a4e3d: 2026-06-20 21:12:51 44→44
6 / 5f2b080acdfa4a27bcf81a3419796f25: 2026-07-05 17:12:02 44→44
7 / b915da92a4394334bc8e1ecad8d441b0: 2026-07-16 18:27:39 44→44
8 / 9c7aedcde41c4e4bb3123aca9415b678: 2026-07-24 17:28:51 44→44
9 / 05c4230f4eda4a86b48cb5cf0a996805: 2026-08-08 16:28:59 44→44
10 / dbdcae4d63ff4c65ab1135bfbe3dcc52: 2026-08-09 17:58:04 44→44

the only form to delete this message is executing 

sudo dnf history clean   -- remove any stored offline transactions and cached packages

Comment 1 Héctor Louzao 2026-09-06 09:55:14 UTC
additional information 

-- Boot fe10137d45e64d5da101402521dec790 --
sep 06 11:25:50 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
sep 06 11:25:51 FedoraBox dnf5[1092]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server
sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
sep 06 11:25:51 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 692ms CPU time over 790ms wall clock time, 488.9M memory peak.
sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.

Comment 2 Héctor Louzao 2026-09-07 09:04:58 UTC
systemctl cat dnf5-offline-transaction.service
# /usr/lib/systemd/system/dnf5-offline-transaction.service
[Unit]
Description=Offline upgrades/transactions using DNF 5
Documentation=https://www.freedesktop.org/wiki/Software/systemd/SystemUpdates

DefaultDependencies=no
Requires=sysinit.target dbus.socket
After=sysinit.target systemd-journald.socket system-update-pre.target
Before=poweroff.target reboot.target shutdown.target system-update.target
OnFailure=dnf5-offline-transaction-cleanup.service

[Service]
# We are done when the script exits, not before
Type=oneshot
# Upgrade output goes to journal and on-screen.
StandardOutput=journal+console
ExecStart=/usr/bin/dnf5 offline _execute

[Install]
WantedBy=system-update.target

# /usr/lib/systemd/system/service.d/10-timeout-abort.conf
# This file is part of the systemd package.
# See https://fedoraproject.org/wiki/Changes/Shorter_Shutdown_Timer.
#
# To facilitate debugging when a service fails to stop cleanly,
# TimeoutStopFailureMode=abort is set to "crash" services that fail to stop in
# the time allotted. This will cause the service to be terminated with SIGABRT
# and a coredump to be generated.
#
# To undo this configuration change, create a mask file:
#   sudo mkdir -p /etc/systemd/system/service.d
#   sudo ln -sv /dev/null /etc/systemd/system/service.d/10-timeout-abort.conf

[Service]
TimeoutStopFailureMode=abort

Comment 3 Héctor Louzao 2026-09-07 09:07:21 UTC
-- Boot dbdcae4d63ff4c65ab1135bfbe3dcc52 --
Aug 09 19:58:03 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Aug 09 19:58:04 FedoraBox dnf5[1090]: Comenzando transacci<C3><B3>n sin conexi<C3><B3>n. Esto tomar<C3><A1> un rato.
Aug 09 19:58:04 FedoraBox dnf5[1090]: Failed to resolve transaction. This indicates some bigger problem, since the offline transaction was already successf>
Aug 09 19:58:04 FedoraBox dnf5[1090]: Error al resolver la transacci<C3><B3>n:
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: libnghttp2-1.68.0-4.fc44.x86_64.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: libnghttp2-1.68.0-4.fc44.i686.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: libnghttp2-devel-1.68.0-4.fc44.x86_64.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: python3-unbound-1.25.2-1.fc44.x86_64.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: unbound-anchor-1.25.2-1.fc44.x86_64.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: unbound-libs-1.25.2-1.fc44.x86_64.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: vim-data-2:9.2.843-1.fc44.noarch.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: vim-filesystem-2:9.2.843-1.fc44.noarch.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: vim-minimal-2:9.2.843-1.fc44.x86_64.
Aug 09 19:58:04 FedoraBox dnf5[1090]: No puede realizar Retirar acci<C3><B3>n, no coincide para: xxd-2:9.2.843-1.fc44.x86_64.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "libnghttp2-1.68.0-5.fc44.x86_64" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "libnghttp2-devel-1.68.0-5.fc44.x86_64" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "libnghttp2-1.68.0-5.fc44.i686" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "python3-unbound-1.26.0-1.fc44.x86_64" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "unbound-libs-1.26.0-1.fc44.x86_64" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "unbound-anchor-1.26.0-1.fc44.x86_64" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "vim-data-2:9.2.920-1.fc44.noarch" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "vim-minimal-2:9.2.920-1.fc44.x86_64" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "vim-filesystem-2:9.2.920-1.fc44.noarch" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox dnf5[1090]: El paquete "xxd-2:9.2.920-1.fc44.x86_64" ya est<C3><A1> instalado.
Aug 09 19:58:04 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Aug 09 19:58:04 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
Aug 09 19:58:04 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
Aug 09 19:58:04 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 980ms CPU time over 1.099s wall clock time, 508.3M memory peak.
Aug 09 19:58:04 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.
-- Boot 5fa2fabf4298418f9a1f9dc034580148 --
Aug 21 19:55:04 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Aug 21 19:55:05 FedoraBox dnf5[1095]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server
Aug 21 19:55:05 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Aug 21 19:55:05 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
Aug 21 19:55:05 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
Aug 21 19:55:05 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 1.062s CPU time over 1.161s wall clock time, 590.1M memory peak.
Aug 21 19:55:05 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.
-- Boot 69c377eb413b4510bd715bf99168608d --
Aug 21 19:57:19 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Aug 21 19:57:20 FedoraBox dnf5[1094]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server
Aug 21 19:57:20 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Aug 21 19:57:20 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
-- Boot 410c707beac04d86b10e5bbe0cca2cb6 --
Aug 21 20:51:50 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Aug 21 20:51:51 FedoraBox dnf5[1100]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server        
Aug 21 20:51:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Aug 21 20:51:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
Aug 21 20:51:51 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
Aug 21 20:51:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 1.059s CPU time over 1.161s wall clock time, 590.1M memory peak.
Aug 21 20:51:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.
-- Boot a93afa6eef83490cb0ca1d66891f3d63 --
Aug 22 11:02:36 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Aug 22 11:02:37 FedoraBox dnf5[1094]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server        
Aug 22 11:02:37 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Aug 22 11:02:37 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
Aug 22 11:02:37 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
Aug 22 11:02:37 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 668ms CPU time over 764ms wall clock time, 479.6M memory peak.
Aug 22 11:02:37 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.
-- Boot 6566748024914f6a91310b9b3200c88e --
Sep 06 11:10:27 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Sep 06 11:10:28 FedoraBox dnf5[1090]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server        
Sep 06 11:10:28 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 11:10:28 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
Sep 06 11:10:28 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
Sep 06 11:10:28 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 699ms CPU time over 797ms wall clock time, 489.5M memory peak.
Sep 06 11:10:28 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.
-- Boot 6451ac7b4027407786b0b7b0a37936b7 --
Sep 06 11:13:40 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Sep 06 11:13:41 FedoraBox dnf5[1090]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server        
Sep 06 11:13:41 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 11:13:41 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
Sep 06 11:13:41 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
Sep 06 11:13:41 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 689ms CPU time over 814ms wall clock time, 489.7M memory peak.
Sep 06 11:13:41 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.
-- Boot fe10137d45e64d5da101402521dec790 --
Sep 06 11:25:50 FedoraBox systemd[1]: Starting dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5...
Sep 06 11:25:51 FedoraBox dnf5[1092]: The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server        
Sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
Sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Failed with result 'exit-code'.
Sep 06 11:25:51 FedoraBox systemd[1]: Failed to start dnf5-offline-transaction.service - Offline upgrades/transactions using DNF 5.
Sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Consumed 692ms CPU time over 790ms wall clock time, 488.9M memory peak.
Sep 06 11:25:51 FedoraBox systemd[1]: dnf5-offline-transaction.service: Triggering OnFailure= dependencies.

Comment 4 Petr Pisar 2026-09-07 15:49:56 UTC
Have you tried executing "dnf history clean" to remove the obsolete pending update?

Comment 5 Petr Pisar 2026-09-07 16:21:27 UTC
There was a change <https://github.com/rpm-software-management/dnf5/pull/2736> in 5.4.3.0 which was supposed to fix this issue. It conveys the new is_pending() boolean with "get_status" D-Bus interface. Maybe Gnome Software does not respect it and detects pending updates by another way?

Comment 6 Héctor Louzao 2026-09-07 16:49:05 UTC
sudo LANG=C dnf5 offline log 

The following boots appear to contain offline transaction logs:
1 / e8c3e9c328154789a194a74db500c63a: 2026-04-28 14:46:21 43→44
2 / 345cc55632cc42b1b5ac0cdf51e4b459: 2026-05-17 17:16:07 44→44
3 / 925a80a1cd02400ba4e39f067df635c1: 2026-05-21 18:22:06 44→44
4 / 085604dc28a6446e91c61e4d2831be2d: 2026-06-05 18:41:47 44→44
5 / a2a57f7d34ba4e599a3d047e3a4a4e3d: 2026-06-20 21:12:51 44→44
6 / 5f2b080acdfa4a27bcf81a3419796f25: 2026-07-05 17:12:02 44→44
7 / b915da92a4394334bc8e1ecad8d441b0: 2026-07-16 18:27:39 44→44
8 / 9c7aedcde41c4e4bb3123aca9415b678: 2026-07-24 17:28:51 44→44
9 / 05c4230f4eda4a86b48cb5cf0a996805: 2026-08-08 16:28:59 44→44
10 / dbdcae4d63ff4c65ab1135bfbe3dcc52: 2026-08-09 17:58:04 44→44

rpm -qa dnf5\*

dnf5-5.4.4.0-1.fc44.x86_64
dnf5daemon-server-5.4.4.0-1.fc44.x86_64
dnf5daemon-server-polkit-5.4.4.0-1.fc44.noarch
dnf5-plugins-5.4.4.0-1.fc44.x86_64

Comment 7 Héctor Louzao 2026-09-07 16:58:23 UTC
(In reply to Petr Pisar from comment #4)
> Have you tried executing "dnf history clean" to remove the obsolete pending
> update?

@ppisar

LANG=C dnf history clean
Unknown argument "clean" for command "history". Add "--help" for more information about the arguments.

I've tried :

LANG=C dnf offline clean

but when an offline pending updates is present, occurs again the same behavior.

I reflected in my previous post log sucessfull and unsucsefull.

Regards.,

Comment 8 Héctor Louzao 2026-09-07 17:04:59 UTC
🕙 19:02:27 ➜ sudo cat /usr/lib/sysimage/libdnf5/offline/transaction.json > output.txt

🕙 19:02:36 ➜ sudo ls -lha /var/lib/dnf/offline/packages/ >> output.txt

{
  "rpms":[
    {
      "nevra":"brave-browser-1.94.121-1.x86_64",
      "action":"Upgrade",
      "reason":"User",
      "repo_id":"brave-browser-rpm-release.s3.brave.com_x86_64_",
      "package_path":"\/var\/lib\/dnf\/offline\/packages\/brave-browser-1.94.121-1.x86_64.rpm"
    },
    {
      "nevra":"chatgpt-26.901.51231-1.x86_64",
      "action":"Upgrade",
      "reason":"User",
      "repo_id":"openai-chatgpt",
      "package_path":"\/var\/lib\/dnf\/offline\/packages\/chatgpt-26.901.51231-1.x86_64.rpm"
    },
    {
      "nevra":"chromedriver-152.0.7977.75-1.fc44.x86_64",
      "action":"Upgrade",
      "reason":"User",
      "repo_id":"updates",
      "package_path":"\/var\/lib\/dnf\/offline\/packages\/chromedriver-152.0.7977.75-1.fc44.x86_64.rpm"
    },
    {
      "nevra":"chromium-common-152.0.7977.75-1.fc44.x86_64",
      "action":"Upgrade",
      "reason":"Dependency",
      "repo_id":"updates",
      "package_path":"\/var\/lib\/dnf\/offline\/packages\/chromium-common-152.0.7977.75-1.fc44.x86_64.rpm"
    },
    {
      "nevra":"code-insiders-1.137.0-1788539840.el8.x86_64",
      "action":"Upgrade",
      "reason":"User",
      "repo_id":"code",
      "package_path":"\/var\/lib\/dnf\/offline\/packages\/code-insiders-1.137.0-1788539840.el8.x86_64.rpm"
    },
    {
      "nevra":"microsoft-edge-stable-152.0.4191.66-1.x86_64",
      "action":"Upgrade",
      "reason":"User",
      "repo_id":"microsoft-edge-stable",
      "package_path":"\/var\/lib\/dnf\/offline\/packages\/microsoft-edge-stable-152.0.4191.66-1.x86_64.rpm"
    },
    {
      "nevra":"brave-browser-1.94.119-1.x86_64",
      "action":"Replaced",
      "reason":"User",
      "repo_id":"@System"
    },
    {
      "nevra":"chatgpt-26.901.31953-1.x86_64",
      "action":"Replaced",
      "reason":"User",
      "repo_id":"@System"
    },
    {
      "nevra":"chromedriver-151.0.7922.173-1.fc44.x86_64",
      "action":"Replaced",
      "reason":"User",
      "repo_id":"@System"
    },
    {
      "nevra":"chromium-common-151.0.7922.173-1.fc44.x86_64",
      "action":"Replaced",
      "reason":"Dependency",
      "repo_id":"@System"
    },
    {
      "nevra":"code-insiders-1.137.0-1788456987.el8.x86_64",
      "action":"Replaced",
      "reason":"User",
      "repo_id":"@System"
    },
    {
      "nevra":"microsoft-edge-stable-152.0.4191.62-1.x86_64",
      "action":"Replaced",
      "reason":"User",
      "repo_id":"@System"
    }
  ],
  "version":"1.0"
}total 1,1G

drwxr-xr-x. 1 root root  508 sep  6 10:54 .
drwxr-xr-x. 1 root root   16 sep  6 10:54 ..
-rw-r--r--. 1 root root 143M sep  6 10:54 brave-browser-1.94.121-1.x86_64.rpm
-rw-r--r--. 1 root root 437M sep  6 10:54 chatgpt-26.901.51231-1.x86_64.rpm
-rw-r--r--. 1 root root 8,1M sep  6 10:54 chromedriver-152.0.7977.75-1.fc44.x86_64.rpm
-rw-r--r--. 1 root root  15M sep  6 10:54 chromium-common-152.0.7977.75-1.fc44.x86_64.rpm
-rw-r--r--. 1 root root 326M sep  6 10:54 code-insiders-1.137.0-1788539840.el8.x86_64.rpm
-rw-r--r--. 1 root root 190M sep  6 10:54 microsoft-edge-stable-152.0.4191.66-1.x86_64.rpm

Regards.,

Comment 9 Héctor Louzao 2026-09-07 17:38:38 UTC
I'm trying to download the 5.4.3.0-1 https://koji.fedoraproject.org/koji/buildinfo?buildID=3082478 but libdnf5-plugin-systemd-inhi is not in the list

rpm -qa dnf5\* libdnf5\* 
libdnf5-5.4.4.0-1.fc44.x86_64
libdnf5-cli-5.4.4.0-1.fc44.x86_64
dnf5-5.4.4.0-1.fc44.x86_64
dnf5daemon-server-5.4.4.0-1.fc44.x86_64
dnf5daemon-server-polkit-5.4.4.0-1.fc44.noarch
dnf5-plugins-5.4.4.0-1.fc44.x86_64
libdnf5-plugin-systemd-inhibit-5.4.4.0-1.fc44.x86_64
libdnf5-plugin-expired-pgp-keys-5.4.4.0-1.fc44.x86_64
libdnf5-plugin-appstream-5.4.4.0-1.fc44.x86_64

and here https://bodhi.fedoraproject.org/updates/?packages=dnf5

dnf5-5.4.3.0-1 fc44 doesn't exits
dnf5-5.4.3.0-1.fc45
dnf5-5.4.3.0-1.fc46

### Note

could you please update the list???

Regards.,

Comment 10 Petr Pisar 2026-09-08 07:34:03 UTC
(In reply to Héctor Louzao from comment #9)
> I'm trying to download the 5.4.3.0-1
> https://koji.fedoraproject.org/koji/buildinfo?buildID=3082478 but
> libdnf5-plugin-systemd-inhi is not in the list

libdnf5-plugin-systemd-inhibit exists since 5.4.4.0. Your link is for 5.4.3.0.

> and here https://bodhi.fedoraproject.org/updates/?packages=dnf5
> 
> dnf5-5.4.3.0-1 fc44 doesn't exits

It does not. Why should it exist? There is dnf5-5.4.3.0-2.fc44.

> could you please update the list???
> 
I cannot change the history. Use the latest build available.

Comment 11 Milan Crha 2026-09-08 07:44:03 UTC
(In reply to Petr Pisar from comment #5)
> There was a change
> <https://github.com/rpm-software-management/dnf5/pull/2736> in 5.4.3.0 which
> was supposed to fix this issue. It conveys the new is_pending() boolean with
> "get_status" D-Bus interface. Maybe Gnome Software does not respect it and
> detects pending updates by another way?

It uses the get_status() and checks the `pending` boolean, together with the `transaction_status` to be non-NULL. Then it checks the values somehow and decides based on it.

It had been deciding whether the gnome-shell should ask to install pending updates differently, it changed with
https://gitlab.gnome.org/mcrha/gnome-software/-/commit/82f016c39084b478015057da8adb63f3c9f4a29c , which is 3 months ago. I do not know which exact version of the gnome-software contains that change though, I'm sorry.

Comment 12 Héctor Louzao 2026-09-08 09:18:29 UTC
(In reply to Milan Crha from comment #11)
> (In reply to Petr Pisar from comment #5)
> > There was a change
> > <https://github.com/rpm-software-management/dnf5/pull/2736> in 5.4.3.0 which
> > was supposed to fix this issue. It conveys the new is_pending() boolean with
> > "get_status" D-Bus interface. Maybe Gnome Software does not respect it and
> > detects pending updates by another way?
> 
> It uses the get_status() and checks the `pending` boolean, together with the
> `transaction_status` to be non-NULL. Then it checks the values somehow and
> decides based on it.
> 
> It had been deciding whether the gnome-shell should ask to install pending
> updates differently, it changed with
> https://gitlab.gnome.org/mcrha/gnome-software/-/commit/
> 82f016c39084b478015057da8adb63f3c9f4a29c , which is 3 months ago. I do not
> know which exact version of the gnome-software contains that change though,
> I'm sorry.

rpm -qa dnf5\* libdnf5\* gnome-software\*

gnome-software-50.3-1.fc44.x86_64
gnome-software-fedora-langpacks-50.3-1.fc44.x86_64
libdnf5-5.4.4.0-1.fc44.x86_64
libdnf5-cli-5.4.4.0-1.fc44.x86_64
dnf5-5.4.4.0-1.fc44.x86_64
dnf5daemon-server-5.4.4.0-1.fc44.x86_64
dnf5daemon-server-polkit-5.4.4.0-1.fc44.noarch
dnf5-plugins-5.4.4.0-1.fc44.x86_64
libdnf5-plugin-systemd-inhibit-5.4.4.0-1.fc44.x86_64
libdnf5-plugin-expired-pgp-keys-5.4.4.0-1.fc44.x86_64
libdnf5-plugin-appstream-5.4.4.0-1.fc44.x86_64

IMHO this is an important bug, also I can't do a  sudo dnf system-upgrade download --releasever=45

I apreciate your atention...

### Comment

also if I do 

sudo LANG=C dnf downgrade dnf5\* libdnf5\* gnome-software\* --allowerasing
[sudo] contraseña para hhlp:
Updating and loading repositories:
 keybase                                                                                                            100% |  37.2 KiB/s |   3.5 KiB |  00m00s
Repositories loaded.
The lowest available version of the "libdnf5-plugin-systemd-inhibit.x86_64" package is already installed, cannot downgrade it.

Package                                             Arch         Version                                             Repository                         Size
Removing dependent packages:
 libdnf5-plugin-systemd-inhibit                     x86_64       0:5.4.4.0-1.fc44                                    updates-testing                28.0 KiB
Downgrading:
 dnf5                                               x86_64       0:5.4.1.0-1.fc44                                    fedora                          3.1 MiB
   replacing dnf5                                   x86_64       0:5.4.4.0-1.fc44                                    updates-testing                 3.3 MiB
 dnf5-plugins                                       x86_64       0:5.4.1.0-1.fc44                                    fedora                          1.6 MiB
   replacing dnf5-plugins                           x86_64       0:5.4.4.0-1.fc44                                    updates-testing                 1.6 MiB
 dnf5daemon-server                                  x86_64       0:5.4.1.0-1.fc44                                    fedora                        764.4 KiB
   replacing dnf5daemon-server                      x86_64       0:5.4.4.0-1.fc44                                    updates-testing               830.8 KiB
 dnf5daemon-server-polkit                           noarch       0:5.4.1.0-1.fc44                                    fedora                        326.0   B
   replacing dnf5daemon-server-polkit               noarch       0:5.4.4.0-1.fc44                                    updates-testing               326.0   B
 gnome-software                                     x86_64       0:50.0-2.fc44                                       fedora                         12.0 MiB
   replacing gnome-software                         x86_64       0:50.3-1.fc44                                       updates                        12.4 MiB
 gnome-software-fedora-langpacks                    x86_64       0:50.0-2.fc44                                       fedora                         47.4 KiB
   replacing gnome-software-fedora-langpacks        x86_64       0:50.3-1.fc44                                       updates                        47.4 KiB
 libdnf5                                            x86_64       0:5.4.1.0-1.fc44                                    fedora                          4.3 MiB
   replacing libdnf5                                x86_64       0:5.4.4.0-1.fc44                                    updates-testing                 4.4 MiB
 libdnf5-cli                                        x86_64       0:5.4.1.0-1.fc44                                    fedora                          1.0 MiB
   replacing libdnf5-cli                            x86_64       0:5.4.4.0-1.fc44                                    updates-testing                 1.0 MiB
 libdnf5-plugin-appstream                           x86_64       0:5.4.1.0-1.fc44                                    fedora                         32.1 KiB
   replacing libdnf5-plugin-appstream               x86_64       0:5.4.4.0-1.fc44                                    updates-testing                32.1 KiB
 libdnf5-plugin-expired-pgp-keys                    x86_64       0:5.4.1.0-1.fc44                                    fedora                         86.3 KiB
   replacing libdnf5-plugin-expired-pgp-keys        x86_64       0:5.4.4.0-1.fc44                                    updates-testing                94.6 KiB
 python3-libdnf5                                    x86_64       0:5.4.1.0-1.fc44                                    fedora                          9.8 MiB
   replacing python3-libdnf5                        x86_64       0:5.4.4.0-1.fc44                                    updates-testing                10.2 MiB

Transaction Summary:
 Replacing:         11 packages
 Removing:           1 package
 Downgrading:       11 packages

Total size of inbound packages is 8 MiB. Need to download 8 MiB.

observe this -> 

Package                                             Arch         Version                                             Repository                         Size
Removing dependent packages:
 libdnf5-plugin-systemd-inhibit                     x86_64       0:5.4.4.0-1.fc44                                    updates-testing                28.0 KiB

this should be ->

Downgrading:
 libdnf5-plugin-systemd-inhibit                     x86_64       0:5.4.1.0-1.fc44                                    fedora                         28.0 KiB
   replacing libdnf5-plugin-systemd-inhibit         x86_64       0:5.4.4.0-1.fc44                                    updates-testing                28.0 KiB

Regards.,

Comment 13 Milan Crha 2026-09-08 09:40:21 UTC
Okay, thanks, the gnome-software 50.3 definitely has the latest version of the dnf5 plugin.

Your system, does it have the `/system-update` directory (symlink)? That's one of the indications a pending update is scheduled to be installed the next reboot.

When I prepare an update in the gnome-software (also the 50.1-1.fc44 version), there appears /usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml , which holds the state. There is no `/system-update` at this stage, because the update is not scheduled, it's only prepared. (Scheduled means it'll be applied the next boot, while prepared means the packages are downloaded, waiting to be scheduled.) The file can be read by anyone, and it contains the following here:

   [offline-transaction-state]
   rpmdb_cookie = "fd4a81de26dc17ff853d8f5b85896bc74896c0915e1f21472d64208c15fac079"
   module_platform_id = ""
   poweroff_after = false
   verb = ""
   system_releasever = "44"
   target_releasever = "44"
   cachedir = "/var/cache/dnf5daemon-server"
   status = "download-complete"
   cmd_line = "dnf5daemon-server"
   state_version = 2

What does gnome-software Updates tab show to you in the Requires Restart section, please? Is it "Restart & Update..." button or anythign else?

Comment 14 Petr Pisar 2026-09-08 10:13:32 UTC
*** Bug 2526051 has been marked as a duplicate of this bug. ***

Comment 15 Héctor Louzao 2026-09-08 12:53:05 UTC
hlp in 🛖 
🕙 13:36:56 ➜ cat /usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml
─────┬──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
     │ File: /usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml
─────┼──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ [offline-transaction-state]
   2 │ rpmdb_cookie = "6496eab5ea57933c58d0127ba19d9f26bfea18afe8188e92dfb98836da3b558d"
   3 │ module_platform_id = ""
   4 │ poweroff_after = true
   5 │ verb = ""
   6 │ system_releasever = "44"
   7 │ target_releasever = "44"
   8 │ cachedir = "/var/cache/dnf5daemon-server"
   9 │ status = "ready"
  10 │ cmd_line = "dnf5daemon-server"
  11 │ state_version = 2
  12 │ 
─────┴──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

hhlp in 🛖  
🕙 14:47:11 ➜ 

### Note

gnome-shell:

suspend - restart - turn off and 

restart and turn off -> message <pending updates>

Regards.,

Comment 16 Milan Crha 2026-09-08 13:35:47 UTC
Thanks for the update. As the .toml files says `status = "ready"`, the gnome-software takes it as such and passes it to the gnome-shell, which asks to install it.

From your journal log:

> The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server        
> dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE

Confirming to apply the update does not re-run the check for the updates and everything, it just sets the "poweroff_after" and let's the dnf5 to create the symlink and that's all.

Wen you open gnome-software, go to the Updates tab and at the left-top corner click the "Refresh" button, and then "Download" button to get the new updates, will it cure the system, please? That's basically what the dnf5daemon-server asks for when applying the offline updates.

Comment 17 Héctor Louzao 2026-09-08 13:43:04 UTC
(In reply to Milan Crha from comment #13)
> Okay, thanks, the gnome-software 50.3 definitely has the latest version of
> the dnf5 plugin.
> 
> Your system, does it have the `/system-update` directory (symlink)? That's
> one of the indications a pending update is scheduled to be installed the
> next reboot.
> 
> When I prepare an update in the gnome-software (also the 50.1-1.fc44
> version), there appears
> /usr/lib/sysimage/libdnf5/offline/offline-transaction-state.toml , which
> holds the state. There is no `/system-update` at this stage, because the
> update is not scheduled, it's only prepared. (Scheduled means it'll be
> applied the next boot, while prepared means the packages are downloaded,
> waiting to be scheduled.) The file can be read by anyone, and it contains
> the following here:
> 
>    [offline-transaction-state]
>    rpmdb_cookie =
> "fd4a81de26dc17ff853d8f5b85896bc74896c0915e1f21472d64208c15fac079"
>    module_platform_id = ""
>    poweroff_after = false
>    verb = ""
>    system_releasever = "44"
>    target_releasever = "44"
>    cachedir = "/var/cache/dnf5daemon-server"
>    status = "download-complete"
>    cmd_line = "dnf5daemon-server"
>    state_version = 2
> 
> What does gnome-software Updates tab show to you in the Requires Restart
> section, please? Is it "Restart & Update..." button or anythign else?

execute gnome-software:

restart and update 
then window with pending updates message like gnome-shell
then reboot 
same behaviour loop

execute -> gnome-software again different message

donwload update
then restart 
doesn't ask for pending updates windows
boot
update offline
reboot
click on turn off no pending updates

Question what is the diference between use gnome-sofware and do it by gnome-shell install pending updates??? maybe a problem here???? 

I don't use gnome-software at all.... sorry

Regards.,

Comment 18 Milan Crha 2026-09-08 14:16:20 UTC
> Question what is the diference between use gnome-sofware and do it by gnome-shell install pending updates???

The gnome-shell is not meant to prepare (possibly large) updates for offline use. It used to ask PackageKit, but it asks gnome-software now (a more generic approach, gnome-shell is not meant to know how the updates the machine applies - for example with Silverblue the method is rpm-ostree, not PackageKit). Thus gnome-shell asks the gnome-software: "are there pending updated, which can/should be installed?" then gnome-software responds "yes/no", which then gnome-shell uses to decide whether the check/question should be there to install pending updates and if yes it tells the gnome-software that the installation was (not) confirmed and what the action after applying the update should be (reboot or power off), and gnome-software just flips the switch through the dnf5. None of this does any heavy work like checking what changed in the system and what new updates can be applied, it's supposed to be quick.

From my point of view, when dnf5 fails to apply the update, it should write to the toml file the reason (the apps cannot sniff in the journal), and it should change the `status` from `"ready"` to `"failed"`, thus it's clear that whatever the offline update has saved is not applicable.

Comment 19 Héctor Louzao 2026-09-08 14:40:28 UTC
(In reply to Milan Crha from comment #16)
> Thanks for the update. As the .toml files says `status = "ready"`, the
> gnome-software takes it as such and passes it to the gnome-shell, which asks
> to install it.
> 
> From your journal log:
> 
> > The system has been modified since the offline transaction was prepared. To reschedule, run: dnf5daemon-server        
> > dnf5-offline-transaction.service: Main process exited, code=exited, status=1/FAILURE
> 
> Confirming to apply the update does not re-run the check for the updates and
> everything, it just sets the "poweroff_after" and let's the dnf5 to create
> the symlink and that's all.
> 
> Wen you open gnome-software, go to the Updates tab and at the left-top
> corner click the "Refresh" button, and then "Download" button to get the new
> updates, will it cure the system, please? That's basically what the
> dnf5daemon-server asks for when applying the offline updates.

Yes, the system is ready and running without problem, these are the steps:

execute gnome-software:

restart and update
then window with pending updates message like gnome-shell click on it
then reboot 
same behaviour loop

execute again -> gnome-software -> get different message

donwload update click on download
then restart 
doesn't ask for pending updates windows like behaviour of gnome-shell
boot
update offline running
reboot o.k
click on turn off no pending updates in gnome-shell -> no message
system o.k.

sorry I don't use gnome-software at all.... I'll start to use for now...

thx for your time...

### Comments

perhaps a test pending is -> in a new pending updates execute via gnome-shell like I get used to, click on pending updates, reboot and see what happened...??? IMHO I'll expect the same loop.....

Regards.,