Software center shows versionlocked packages in updates

I’ve versionlocked a few packages using dnf versionlock. They do not show any updates using dnf upgrade as expected. However, they’re showing updates in the software center and also on selecting restart/poweroff. There should be better integration between Software center and versionlock; otherwise, there is no point in versionlocking if it’s going to be updated anyway.





This is expected as software centre is not using dnf yet. Should be fixed eventually.

If you always use dnf from the terminal you will see consistent results.

1 Like

You can prevent the software app (packagekit) from trying to do the update when you are shutting down or rebooting by disabling that service.
sudo systemctl disable packagekit-offline-update.service
sudo systemctl mask packagekit-offline-update.service

Then, as mentioned above, only use dnf for updates and the inconsistencies will disappear.

1 Like