Hi, I got this error when running ‘dnf update’:
“Warning: A pending offline transaction initiated by the following command will be invalidated: dnf5daemon-server.”
Hi, I got this error when running ‘dnf update’:
“Warning: A pending offline transaction initiated by the following command will be invalidated: dnf5daemon-server.”
What Didn’t Work
Clearing the GNOME Software Cache
rm -rf ~/.cache/gnome-software/*
rm -rf ~/.cache/gnome-software/*
The cache had grown to 253 MB (mostly icons). Wiping it forced GNOME Software to rebuild from scratch. Result: no change — UI hung at the same point.
Restarting Services
systemctl --user restart gnome-software.service sudo systemctl restart packagekit.service sudo systemctl restart dnf5daemon-server.service
systemctl --user restart gnome-software.service
sudo systemctl restart packagekit.service
sudo systemctl restart dnf5daemon-server.service
All three services restarted cleanly and stayed alive, but the next UI launch produced the same hang.
You marked the text copied from the site you linked to as a solution. But it’s not a solution because it only states “What Didn’t Work” ![]()
What did you do to fix your problem?
You can run
sudo dnf offline clean
and it will throw away all the packages that was downloaded in preparation for offline updates.
Or you can run
sudo dnf offline reboot
to apply the updates during rebooting the system.
Since clearing the cache and restarting the services didn’t help, I’d check whether an offline update is still pending. The service logs might also show why GNOME Software keeps getting stuck.
In addition to what @vekruse posted (which will most likely resolve your issue)
you can also check the status of offline transactions with sudo dnf offline status