Difference between revisions of "Pc-updatemanager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
Line 51: Line 51:
  
 
Your system will now reboot into the newly installed operating system.
 
Your system will now reboot into the newly installed operating system.
 +
 +
You can see which updates are available, which have been ignored, and which have been applied by looking at the contents of ''/var/db/pc-updatemanager''.

Revision as of 15:09, 28 December 2011

(Sorry for the inconvenience)

PC-BSD's Update Manager makes it easy to upgrade from an earlier version of 9.0 (including beta and RC versions) to the latest version of PC-BSD.

NOTE: It is not recommended to update between major branches: for example, from a 7.x or 8.x version to a 9.x version of PC-BSD. Instead, backup your data and do a fresh install of the new version. Also, it is not possible to "upgrade" from FreeBSD to PC-BSD.

DANGER: before performing any upgrade, always back up your important data to an external backup device, such as a removable USB drive, or to another system using Life Preserver. While it is unlikely that something will go wrong, you'll be glad that you made that backup just in case.

An upgrade will preserve the data in the home directories, any installed PBIs, changes to the /usr/local/ and /etc/ directories, changes to /boot/device.hints, and user accounts. When the upgrade is finished, simply reboot to access the new version of your PC-BSD operating system.

NOTE: when you do an upgrade, programs installed via FreeBSD ports or packages will be removed. If you want to preserve them across major system updates, you should install these using Ports Jail. Better yet, request that your favourite port/package is made into a PBI as PBIs are preserved during an upgrade.

To perform the upgrade, make sure that your Internet connection is active and go to Control Panel -> Update Manager or type pc-su pc-updategui from a terminal. After inputting the administrative password, Update Manager will look for updates and inform you if a newer version of the operating system is available. In the example shown in Figure 4.6a, the operating system is currently at 9.0-BETA1 and Update Manager is indicating that 9.0-BETA1.5 is available.

Figure 4.6a: Using Update Manager to Upgrade the Operating System

Upgrade1.png

To perform the update, check the box for the System Upgrade entry and click the "Install selected updates" button. A progress bar will indicate:

  • the download status of the PCBSD.tbz upgrade file
  • the download status of the software packages that are installed with the operating system and which have newer available versions

How long the downloads take depends upon the speed of your network connection; for example, it can take an hour or so over a DSL connection. You can continue to use your PC-BSD system while Update Manager downloads the files it needs. Once the downloads are finished, the message seen in Figure 4.6b will appear.

Figure 4.6b: System is Ready to Reboot

Upgrade2.png

PC-BSD won't automatically reboot the system, giving you the opportunity to close any applications that you have open before you reboot the system yourself.

After rebooting, a console mesage will appear similar to this one:

# PC-BSD System Upgrade
# Updating to 9.0-BETA1.5
# Please do NOT reboot the system until the update is finished
##############################################################
Cleaning system pkgs.....
Extracting updated world environment...DONE
Cleaning up old files...DONE

The system will reboot into the new operating sytem and continue with the application updates:

# PC-BSD System Upgrade
# Updating to 9.0-BETA1.5
# Please do NOT reboot the system until the update is finished
##############################################################
Installing meta-pkgs.....
Cleaning up old files...DONE
Update finished! Rebooting...

Your system will now reboot into the newly installed operating system.

You can see which updates are available, which have been ignored, and which have been applied by looking at the contents of /var/db/pc-updatemanager.