View Full Version : PSA: Do not run 'dnf update' inside GNOME, KDE or any other Fedora graphical desktop

6th October 2016, 07:38 PM
Recently several reports of people getting 'duplicated packages' and 'kernel updates not working' have come through to us in QA from Fedora 24 users. I managed to get one reporter to explain more specifically what happened, and it sounds a lot like what's happening is that something in the 'dnf update' process can cause a GNOME or X crash, possibly depending on hardware or package set installed. When that happens, the update process is killed and does not complete cleanly, which is why you get 'duplicated packages' and other odd results.

I'm working with the reporter right now to investigate and hopefully get this fixed, but in the meantime - and this is in fact our standard advice anyway, but it bears repeating - DON'T RUN 'dnf update' INSIDE A DESKTOP.

Running the update process inside a desktop just gives it all the more opportunity to crash somehow. If the terminal app crashes, the update crashes. If the desktop crashes, the update crashes.

I don't want to get in the KDE folks' bad graces, but this likely could also affect KDE's graphical update system, so I'd advise against using that for the present too.

If you're using Workstation, the offline update system is expressly designed to minimize the likelihood of this kind of problem, so please do consider using it. Otherwise, at least run 'dnf update' in a VT - hit ctrl-alt-f3 to get a VT console login prompt, log in, and do it there. Don't do it inside your desktop.

Thanks folks!

Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Twitter: AdamW_Fedora | XMPP: adamw AT happyassassin . net
Source - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/7ULAG243UNGTOSL6URGNG23GC4B6X5GB/