Upgrade to NST 20

From NST Wiki
Revision as of 15:06, 11 February 2014 by Paul Blankenbaker (talk | contribs) (Created page with "= Overview = We often receive questions along the lines of "How do I upgrade from NST 18 to NST 20?". We typically answer this question with "You don't, in order to move to a ne...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Overview

We often receive questions along the lines of "How do I upgrade from NST 18 to NST 20?". We typically answer this question with "You don't, in order to move to a new major release, you will need to install NST 20."

While we still recommend performing a clean install when upgrading from NST 18 to NST 20, it may now be possible to perform an upgrade using the fedup utility (https://fedoraproject.org/wiki/FedUp).

Disclaimer

Using the fedup utility has not been thoroughly investigated. The procedure outlined here has been tried a couple of times and appears to work. However, the state of our test NST 18 systems will be different than the state of your NST 18 systems, so your mileage my vary.

Requirements

Check list of items before upgrading a system to NST 20.

  • You have NST 18 installed
cat /etc/nst-release
  • You have registered your NST system with the NST Pro service and have access to a fully up to date NST 18 and NST 20 yum repository (alternatively, you can build your own NST 18 and NST 20 yum repository and set up a yum server or look for an alternative provider).
  • It is OK if all of the files on the current system are lost if the upgrade fails (in other words: you have backed up the important files on the system).
  • You have reviewed the fedup utility instructions at: https://fedoraproject.org/wiki/FedUp.
  • You are able to download large amounts of data (think 3GB) without problem from the Internet.
  • You are aware that upgrading a system will probably take significantly longer than installing from scratch.

Performing The Upgrade

Removing Some Packages

For some reason, the ostinato and bind-chroot packages cause some issues during the upgrade process. Go ahead and remove them now. This will trigger the removal of some other packages as well, that is OK as we will put them back later.

 yum remove ostinato bind-chroot

Bringing the System Up To Date

 yum update

Installing and Running the fedup Utility

      • WARNING*** We do not think it is possible to use the fedup utility without having access to fully updated NST yum repositories (both NST 18 and NST 20). If you are a NST Pro subscriber and have registered your NST 18 system with the NST Pro site, you should be OK. Otherwise you will need to build your own NST 18 and NST 20 yum servers or find an alternate 3rd party provider.
 yum install fedup
 fedup --network 20 --nogpgcheck

Rebooting

At this point you will need to reboot. When you reboot, a new boot option that performs the upgrade should run automatically and cleanly.

Installing Packages

Once you are able to log back in, you can install the packages we had to removed earlier. If you would like to have the MATE desktop as a option (which we recommend), use the following:

yum install nst-live nst-desktop-mate

If you prefer to keep just the GNOME desktop option, then run:

yum install nst-live nst-desktop-gnome

Reviewing Modified Configuration Files

If there were significant changes in system configuration files, your old modified configuration files will be renamed and the new default configuration files will be installed. It is a good idea to identify and review these configuration changes (especially if you need to put something back). Use the following command to find your system configuration files that have been modified:

find /etc -name "*.rpmsave"