I noticed updates piling up and not getting installed. This implies that DNF automatic is not running properly.
I try installing the "dnf-automatic" package -- it is installed, as it should be.
Fedora 41 introduced dnf5 to replace dnf. In fact "dnf" is now a symbolic link to "dnf5" in /usr/bin.
I take a look at /etc/dnf/automatic.conf. The file is there as it should be without any hanky panky with dnf renaming it or anything.
I try this:
systemctl status dnf-automatic ○ dnf5-automatic.service - dnf5 automatic Loaded: loaded (/usr/lib/systemd/system/dnf5-automatic.service; static) Drop-In: /usr/lib/systemd/system/service.d └─10-timeout-abort.conf, 50-keep-warm.conf Active: inactive (dead) TriggeredBy: ● dnf5-automatic.timerThat is not good. You used to start the service via:
systemctl enable dnf-automatic.timer systemctl start dnf-automatic.timerWe have a new fancy dnf5 now, so they felt a need to rename this, so:
systemctl enable dnf5-automatic.timer systemctl start dnf5-automatic.timerThis does not seem to get it done, so this is suggested:
systemctl enable --now dnf-automatic-installBut it just fails -- that service does not exist.
dnf5-plugin-automaticI try installing it and it is already installed.
They say there should be a file:
/etc/dnf/dnf5-plugins/automatic.confThere is no such file (no doubt the root of my problem), although the directory exists.
su cd /etc/dnf/dnf5-plugins cp ../automatic.conf . systemctl restart dnf5-automatic.timerThat seems to have done it. Maybe.
systemctl status dnf5-automatic.timer ● dnf5-automatic.timer - dnf-automatic timer Loaded: loaded (/usr/lib/systemd/system/dnf5-automatic.timer; disabled; pr> Active: active (waiting) since Wed 2024-11-20 23:02:17 MST; 8s ago Invocation: fcc63f55f78d4d61bc38df4bd3d26d18 Trigger: Thu 2024-11-21 06:52:16 MST; 7h left Triggers: ● dnf5-automatic.serviceI am surprised that the syntax of the file has not changed and errors reported.
Adventures in Computing / [email protected]