Dnf-automatic vs dnf --security update

Hi.
So this is about automatically putting on security patches but not using cockpit.

When I use dnf-automatic, its says no security patches are needed:

dnf-automatic
Last metadata expiration check: 3:44:48 ago on Fri 05 Nov 2021 09:54:45 GMT.
No security updates needed, but 67 updates available

But when I use dnf --security check-update there are a whole stack of security patches lined up.

dnf --security check-update
Last metadata expiration check: 3:45:39 ago on Fri 05 Nov 2021 09:54:45 GMT.

NetworkManager.x86_64 1:1.30.0-13.el8_4 baseos

This has only just started working on Rocky this week but I have no idea why. I wonder if it rings any bells here.
Kind Regards
Mark

1 Like

Hello, I have the same issue. Did you ever figure out what was going on?

# dnf check-update --security
Last metadata expiration check: 19:31:16 ago on Mon 28 Oct 2024 02:58:22 PM UTC.

nss.x86_64                                        3.101.0-7.el8_8                  appstream
nss-softokn.x86_64                                3.101.0-7.el8_8                  appstream
nss-softokn-freebl.x86_64                         3.101.0-7.el8_8                  appstream
nss-sysinit.x86_64                                3.101.0-7.el8_8                  appstream
nss-util.x86_64                                   3.101.0-7.el8_8                  appstream
python3-rpm.x86_64                                4.14.3-31.el8                    baseos   
rpm.x86_64                                        4.14.3-31.el8                    baseos   
rpm-build-libs.x86_64                             4.14.3-31.el8                    baseos   
rpm-libs.x86_64                                   4.14.3-31.el8                    baseos   
rpm-plugin-selinux.x86_64                         4.14.3-31.el8                    baseos   
rpm-plugin-systemd-inhibit.x86_64                 4.14.3-31.el8                    baseos

# dnf-automatic --timer
Last metadata expiration check: 19:32:18 ago on Mon 28 Oct 2024 02:58:22 PM UTC.
No security updates needed, but 137 updates available

There is a command to clean the cache did you try that also?
Anything in the dnf logfile that could help?

Do note that the OP post was made three years ago. I do guess that the thread pop to the top of list (yesterday) because someone did put a like on it.

:joy: works well on both Alma and Rocky, this thread should be closed. Thank-you

1 Like

@bradymd I think you can close the thread.
@jlehtone :wink: I did not check the date. :rofl: