F44 Unable to get automatic updates

This is a continuation of the previous problem report under the same name because I thought I had a solution but it didn’t continue to work. I upgraded F43 > F44 and the automated updates are no longer occurring. I am on the F44 workstation version of Fedora. As discussed previously, ‘systemctl is-active dnf5-automatic.timer’ does return ‘active’ and the same except ‘is-enabled’ returns ‘enabled’. I keep getting the ‘new updates are available’ messages and now when I shut down at night the confirmation pop-up shows that it will do an update (the box is checked) BUT nothing happens and on startup in the morning the updates have not occurred.
I recall vaguely from past versions that there is some sort of next-boot flag set on power off but I can’t remember where it is set and haven’t been able to find a search that gets it. Seems that is probably the problem since it worked fine on F43 but I wonder if someone knows off the top of their head where I should be searching, or how to restore the previous behaviour. I can do a dnf update manually but that provides all sorts of opportunity for typos so I would rather use the automatic system if I can.

Your will need to look in the system journal for the reason that updates failed to apply.
You can do this with the sudo dnf offline log command (see man dnf-offline for details) which shows the journalfor the time of the offline update.

What do you find?

@barryascott Nothing that seems useful - to me at least. Here is the full text:

The following boots appear to contain offline transaction logs:
1 / f4b73c5d41274ed399bfb2e0bf218f7e: 2024-12-05 17:47:55 40→41
2 / cba1e5b00c8f469e9168e00767ce051b: 2025-05-22 02:42:47 41→42
3 / 9f8243a69366444db32bcbf55e665b27: 2025-12-03 18:39:15 42→43
4 / 01be43e413d64d26be85f49bd38613f8: 2026-09-07 22:26:56 43→44

It occurred to me that a dnf status might be useful and I got the following error (truncated but you can see what it means) :

Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://packagecloud.io/ookla/speedtest-cli/fedora/30/SRPMS/repodata/repomd.xml [error adding trust anchors from file: /etc/pki/tls/certs/ca-bundle.crt] - https://packagecloud.io/ookla/speedtest-cli/fedora/30/SRPMS/repodata/repomd.xml
An Curl handle error

I hope this helps. Thanks.

I hate to reply to my own post but I got to thinking about the list so I looked at the most recent log in the list (f4b73c5d41274ed399bfb2e0bf218f7e) and it resulted in an error:

dnf offline log --number=f4b73c5d41274ed399bfb2e0bf218f7e | less
terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoul

Not sure if I messed up the command; I tried with bott a ‘-’ sign at the beginning and without but with the same result. Either way, it isn’t obviously helpful! Earlier logs do show an offline update but are for previous versions of Fedora. The last one on 2026-09-07 is the update from F43 to F44 and that update was successful so far as I could see:

cat /etc/fedora-release
Fedora release 44 (Forty Four)

No idea where to look next.

Things to try:

  • Clear cache: Run dnf clean all to remove potentially corrupted metadata or cache files that might be feeding invalid strings to the stoul function.

Or try downgrading dnf

` sudo dnf downgrade dnf
[sudo] password for me: 
Updating and loading repositories:
Repositories loaded.
Package                                      Arch   Version                          Repository           Size
Downgrading:
 dnf5                                        x86_64 0:5.4.6.0-2.fc45                 updates-testing   3.4 MiB
   replacing dnf5                            x86_64 0:5.4.6.0-3.fc45                 updates-testing   3.4 MiB
 dnf5-plugin-automatic                       x86_64 0:5.4.6.0-2.fc45                 updates-testing 195.8 KiB
   replacing dnf5-plugin-automatic           x86_64 0:5.4.6.0-3.fc45                 fedora          195.8 KiB
 dnf5-plugins                                x86_64 0:5.4.6.0-2.fc45                 updates-testing   1.6 MiB
   replacing dnf5-plugins                    x86_64 0:5.4.6.0-3.fc45                 updates-testing   1.6 MiB
 dnf5daemon-server                           x86_64 0:5.4.6.0-2.fc45                 updates-testing 831.5 KiB
   replacing dnf5daemon-server               x86_64 0:5.4.6.0-3.fc45                 updates-testing 831.5 KiB
 libdnf5                                     x86_64 0:5.4.6.0-2.fc45                 updates-testing   4.8 MiB
   replacing libdnf5                         x86_64 0:5.4.6.0-3.fc45                 fedora            4.8 MiB
 libdnf5-cli                                 x86_64 0:5.4.6.0-2.fc45                 updates-testing   1.1 MiB
   replacing libdnf5-cli                     x86_64 0:5.4.6.0-3.fc45                 updates-testing   1.1 MiB
 libdnf5-plugin-appstream                    x86_64 0:5.4.6.0-2.fc45                 updates-testing  32.1 KiB
   replacing libdnf5-plugin-appstream        x86_64 0:5.4.6.0-3.fc45                 fedora           32.1 KiB
 libdnf5-plugin-expired-pgp-keys             x86_64 0:5.4.6.0-2.fc45                 updates-testing  94.9 KiB
   replacing libdnf5-plugin-expired-pgp-keys x86_64 0:5.4.6.0-3.fc45                 fedora           94.9 KiB
 libdnf5-plugin-systemd-inhibit              x86_64 0:5.4.6.0-2.fc45                 updates-testing  28.0 KiB
   replacing libdnf5-plugin-systemd-inhibit  x86_64 0:5.4.6.0-3.fc45                 fedora           28.0 KiB
 python3-libdnf5                             x86_64 0:5.4.6.0-2.fc45                 updates-testing  10.3 MiB
   replacing python3-libdnf5                 x86_64 0:5.4.6.0-3.fc45                 updates-testing  10.3 MiB

Transaction Summary:
 Replacing:         10 packages
 Downgrading:       10 packages

Total size of inbound packages is 6 MiB. Need to download 6 MiB.
After this operation, 355 B will be freed (install 22 MiB, remove 22 MiB).
Is this ok [y/N]: 
Operation aborted by the user.
`

Also check:

`systemctl is-enabled dnf5-automatic.timer
enabled
`

Here, —number wants a value from the first column of the list produced by sudo dnf offline log, so

Are you running gnome-software or discover at the same time you’re running dnf-automatic?

If you want to rely on dnf automatic only and just manually check for updates in gnome-software you can go to settings and change automatic to manual. You’ll have open the app to check for updates for flatpaks or if your machine supports it firmware updates.

On KDE I believe that same setting is under System Settings → Software Update.

The one thing I’m not sure of is if dnf5-automatic staging updates would trigger alerts from gnome-software.

There are a couple of different ways to do this depending on what your comfort level is with the command line and/or how much automation you really want to do..

dnf automatic reference:

Link to the old thread for reference:

Try --number=4 as @gnwiii was suggesting one from the list.

@chillzone Thanks. I did a dnf clean all and I’m going to try a shutdown and reboot and see what happens in a moment. I’ll downgrade DNF if required next but I want to check what actually happens at each iteration.

@gnwiii @barryascott Of the numbers available, they all work properly and show proper and completed updates except for #4. They are for previous updates from other versions of Fedora so not relevant to this problem though. Only the update from F43 to F44 shows an error.

@grumpey I don’t do anything unusual on this workstation so I have a pure vanilla install, Gnome, no flatpak, and no special video cards or drivers either. I don’t run discover and in the past Gnome has stayed out of my hair! I prefer the command line (I’m an old IBM mainframe operations guy from the 1960’s and 70’s) so I’m quite happy to run everything that will run from there from the command line.

If it’s installed, remove it.
sudo dnf remove gnome-software

@grumpey I removed gnome-software which was shown as installed but now the pending updates have been deleted and since I’m testing automatic update I’ll have to wait for some more pending updates to happen. I’ll report back then. Thank you to everyone who has responded so far. Much appreciated.

Just to make sure I’m not leading you down the wrong path.
gnome-software can do automatic updates and will provide you user notifications but can have some odd behaviors if you’re also using dnf and manually installing things.

dnf5-automatic, configured based on the other topic is going to automatically download and install updates. You’re going to have to check journalctl -b -u dnf5-automatic to see what is updated.

You can configuration some additional options for notifications via email or other commands for this. man dnf5-automatic provides some additional information for this.

Sorry for the long dellay folks; I was waiting to see what happened on the next update. After a full week, as of today, I am no longer getting notifications about updates so something I did seems to have stopped them. I’m trying to figure out what but of course I have to wait for the next update each time I guess so may be some time before I re-post here. I do hope not!

Removing gnome-software removed the notifications for software updates.

You’ll need to check journalctl -b -u dnf5-automatic

@grumpey : Tried that and nothing has happened yet. So tonight I ran dnf update and got 34 new patches so obviously still something wrong. I noticed two unexpected results:

Warning: Pending offline transaction has been invalidated.
To reschedule, run: dnf5daemon-server

The second was:

ookla_speedtest-cli-source                                                           ???% |   0.0   B/s |   0.0   B |  00m00s
>>> Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://packagecloud.io/ookla/speedtest-cli/fedora/30/SRPMS/repodata/repomd.xml [error adding trust anchors from file: /etc/pki/tls/certs/ca-bundle.crt] - https://packagecloud.io/ookla/speedtest-cli/fedora/30/SRPMS/repodata/repomd.xml
>>> An Curl handle error
 ookla_speedtest-cli                                                                  ???% |   0.0   B/s |   0.0   B |  00m00s
>>> Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://packagecloud.io/ookla/speedtest-cli/fedora/30/x86_64/repodata/repomd.xml [error adding trust anchors from file: /etc/pki/tls/certs/ca-bundle.crt] - https://packagecloud.io/ookla/speedtest-cli/fedora/30/x86_64/repodata/repomd.xml
>>> An Curl handle error

I don’t really need speedtest so I tried to remove the package but I can’t figure out what it’s repository name is; keep getting “not installed” response.

I seem to be making progressivly bigger messes! This is my primary workstation so I can’t have it offline for extended periods. Any ideas? “systemctl dnf-automatic” shows that the files I just downloaded manually updated properly.

The command dnf repolist could tell you which repositories you have enabled on your system.

You had offline updates downloaded and ready, but they won’t be applied until you run sudo dnf offline reboot.

@vekruse Sorry, I don’t think I worded that comment properly: I know the repo speedtest is in, what I don’t know is the name of the object. “speedtest”, ookla_speedtest", and other versions just give me “Not installed” messages, so I can’t delete it. I checked and the appropriate repository is there (twice, with and without the “-cli” on the end. What I really need is some way to get the appropriate key onto the internal keyring but I don’t want to mess with the other active and correct keys and I am definately NOT a key or crypto speciaist!
I guess I accomplished your last comment by accident but running the dnf update function but the automatic function still doesn’t work or this would have happened last time I shut down and there was no indication that anything had happened to need me to do that. Sort of a catch 22 situation. As a general comment, the various reboot functions all lead to a “Device not found” error since about Fedora 35 or so, and I need to do a manual power recycle to get a normal boot which does go to the update function. I have asked on this group but never got any ideas.

If you know the path of the program you can use that to find the rpm useing the command rpm -qf <path-to-file>. Then you can report the package.

If dnf says it is not installed, then you can’t uninstall something that is not installed.

But it looks like it is the repository itself that is the problem, so maybe you can remove it or disable it.

Then again: I don’t think dnf automatic is working properly regardless. At least when I tried it, it downloaded some rpm files but left them in the wrong place.

Thank you both, a scan of all directories doesn’t find speedtest so I must have been able to delete it at some attempt.

@vekruse : does that imply that the problem that I have is real and an error? If so, where do I post a bug report? Never actually caught one, other than myself, before!