Fedora 24 Upgrade issue — Workarounds

So if you have been around Fedora  for awhile you are familiar with one or both of these commands:

sudo dnf update


sudo dnf upgrade 

Well if you grab the ‘Gold’  ISO (the one supplied at Get Fedora), and do the usual updates upon install within the X Server Environment (the usual graphical desktop most users are familiar with),  due to an odd trifecta of updates that are all coming in at once the update sequence has been found (in Gnome, possibly others) to crash the X Session whilst in the update process. The issue is this sequence downloads the new bits (namely XServer, Systemd, kernel-4.7.6-200) yet fails to install them properly due to the X crash, and effectively leaves your system in an unstable and often unusable state ( for the non techie types at least) .  So are there workarounds?  Sure.

If you install from the Gold you have a few option you can do:

  • Do your first update via the command-line ( /dev/tty) not the one in the graphical environment,  this takes the X Crash out of the picture as its not even in play doing it this way.  This is as simple as Holding down CTL+ALT and pressing ‘F2’ to bring up a legacy terminal ( the dreaded black terminal, where you merely need to login with same credentials as you would to login with the graphical, once logged in run ‘sudo dnf update’ , and let it do it’s thing and reboot… VOILA.
  • Use a ‘Net-install’  Installer image ( this requires networking capability — unless a local nfs or similar local share is used). This option pulls in packages from the mirrors directly installing the most current ones for your install, negating the need to do an immediate ‘sudo dnf upgrade‘ as those same packages are installed from the beginning.  If you are wishing to setup a local mirror you will need ~ 500 GB and can find more info on those setup details here. If you are solely using this mirror for internal use, feel free to disregard the Intelligent Mirror Bits.
  • Use the Updated ISOs made and maintained by a small team of Ambassadors for use by the Fedora community at large, they can be located in the most recent edition here. These are made upon every new kernel release (into stable), and include both native direct download and .torrent options. I personally sign with my Fedora GPG Key all checksum512 and hashsum512 files on my ‘people space‘ , with the key available in the common parent directory.  These files are contain the sha512 values for the valid ISOs and torrents ( hashsum512-$(date) is the torrent hash itself). All torrents contain the corresponding ISO Sha512 in the Comments section.

Also a quick note for those using system-wide network keys ( normally when you select ‘Allow all users to connect to this Network) and doing a ‘clean install‘ using the Gold ISO,

backup along with you /home, the following sub-directory so as not to lose your network login keys and credentials: /etc/sysconfig/network-scripts/keys-*