Ask Your Question

DNF and "OfflineSystemUpdates"

asked 2018-06-19 04:04:31 -0500

mlr1977 gravatar image

On Fedora 28, Gnome Software (package-kit) uses OfflineSystemUpdates to install stuff like kernel updates at boot time. It reboots your system and then - before stating the desktop - installs the updates. It's analogous to Windows updates, basically.

dnf upgrade, on the other hand, installs all updates right away.

If OfflineSystemUpdates is actually necessary, how come dnf upgade doesn't use it? If it's not necessary, how come it's even there? Maybe because of the way package-kit interacts with dnf?

Coming from Ubuntu, it's kind of hard for me to wrap my head around the fact that there are two different upgrade systems on Fedora.


edit retag flag offensive close merge delete


florian gravatar imageflorian ( 2018-06-19 13:53:45 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2018-06-19 06:51:16 -0500

tim8723 gravatar image

updated 2018-06-20 06:52:03 -0500

This has been discussed many times before, even recently. Fedora says that dnf upgrade should not be run from the desktop environment. That said, most people do it, anyway. It is possible, but not very likely, that some components could fail to be upgraded because they are "in use". "dnf update" considered harmful

edit flag offensive delete link more


Would you mind providing a source? Where does Fedora say that dnf should not be run within you Desktop Environment?

florian gravatar imageflorian ( 2018-06-19 13:50:36 -0500 )edit

Do you not see the sources I provided?

tim8723 gravatar imagetim8723 ( 2018-06-20 06:51:04 -0500 )edit

I saw the two links but couldn't see how this is an official statement of the Fedora Project. LWN is web magazine, not related to Fedora Project. However, this post seems to be an official statement by Fedora Project. So yes, they recommend not updating inside the Desktop. Still, many users are doing it without any problems. Good compromise is to run dnf upgrade from a VT - that should be resilient to a Desktop crash.

florian gravatar imageflorian ( 2018-06-20 09:57:05 -0500 )edit

I guess it just needs a talented volunteer to create a dnf module for doing offline updates. It shouldn't be too different from the implementation of python3-dnf-plugin-system-upgrade.noarch.

villykruse gravatar imagevillykruse ( 2018-06-21 11:29:42 -0500 )edit

Question Tools

1 follower


Asked: 2018-06-19 04:04:31 -0500

Seen: 91 times

Last updated: Jun 20 '18