Today it happened something I never experienced before.
In general to update my system I issue sudno dnf upgrade, I see the proposed updates and then I confirm them.
Today when I shut down my PC, it asked if I wanted to install updates and I answered “Yes”. I do not remember the exact message. Later on I booted my PC and after boot a screen appeared “Installing updates”. When it arrived to 100% it shut down. It did not reboot, just shut down. Then I booted it up again and now it works.
With dnf history this is the only relevant element:
ID | Command line | Date and time | Action(s) | Altered
--------------------------------------------------------------------------------
72 | | 2021-06-12 20:30 | Upgrade | 47
I noted with Fedora 33 that packagekit began the automatic update with a shutdown. You see a checkbox in the last power off window that says to update on shutdown. I suspect 34 continues that horrendous practice which reminds me of microsoft. Some may appreciate it but as you found it hides what is done until you search for it, and does not allow an informed approval, only an after-the-fact review. It can easily break a system when your hardware or software needs a little tlc during updates.
I followed the steps in your linked post to try to disable automatic updates, and this is the result I obtained from the terminal:
Created symlink /etc/systemd/system/packagekit.service → /dev/null.
Unit packgekit-offline-update.service does not exist, proceeding anyway.
Created symlink /etc/systemd/system/packgekit-offline-update.service → /dev/null.
Is it fine? It says one of the services dies not exist.
I executed the scripts you linked in your post, namely:
It should have no negative effects. The link was to a generic method of making sure the automatic updates were disabled and did not happen at shutdown. I have seen nothing from that and as far as I can see the only issue was that the packagekit-offline-update was not installed when the command was run so it gave you the warning but caused no harm.