Update Manager/9.2

From PC-BSD Wiki
Revision as of 10:55, 12 June 2012 by Drulavigne (Talk | contribs)

Jump to: navigation, search

(Sorry for the inconvenience)

PC-BSD 9.0 introduced a redesigned Update Manager to make it easy to update the underlying FreeBSD world or kernel, drivers, software installed via packages, ports, or PBIs, and to apply security updates. Unlike previous versions of PC-BSD, the 9.x series of PC-BSD uses the GENERIC FreeBSD kernel in order to ease kernel updating. Update Manager provides an easy to use GUI; however, the underlying mechanism is based on shell scripts. This means that advanced users don't need to run a window manager in order to use the upgrade functionality. These shell scripts use sudo so that regular user accounts can run upgrades without requiring access to the root password.

An icon located in your system tray lets you tell at a glance if any of your PBIs are out-of-date or if a system update is available. This icon has several possible states:

Updated1.png your system is up-to-date

Working.png the system is currently checking for updates and patches; this happens automatically whenever you boot your system

Sysupdates.png your operating system is out-of-date and system update(s) or patch(es) are available

Pbiupdates.png newer versions of installed PBI(s) are available; click this icon to open AppCafe® so that you can update the PBI(s)

Connecterror.png the system was unable to check for updates, meaning you should check your Internet connection

If you right-click the icon, you will see the menu shown in Figure 6.3a:

Figure 6.3a: Right-click Menu for Update Manager


Selecting "Start the Update Manager" from the right-click menu or double-clicking the icon will open Update Manager so that you can review the available update(s).

Figure 6.3b shows a screenshot of Update Manager:

Figure 6.3b: Update Manager


If any updates are available, they will be listed; if your system is fully up-to-date, there won't be any entries.

If you hover over a listed update, a pop-up menu will provide some details about the update.

To install an update, check the update(s) that you wish to install and click the "Install selected updates" button. You can watch the update's progress as seen in Figure 6.3c:

Figure 6.3c: Installing a System Update


If the update requires a reboot, you will be notified to do so after the update has been installed. If a reboot is needed, clicking the OK button at the informational message won't reboot the system. Update Manager won't automatically reboot, meaning you can continue to use your computer for other tasks while the system is being updated. Finish whatever you are doing and reboot the computer at a time that is convenient for you.

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. Each update ends in a .upd extension and has an associated SHA checksum. This .upd file contains information about the update, as seen in the following example:

Name: Fix issue with incorrect version showing as root
Date: 12-20-2011
MD5: fecd1cd157cc4092989e90c5b83e1a9f
Size: 1
Mirror: ftp://ftp.pcbsd.org/pub/
FileURL: /system-updates/9.0-RC3/patch-12202011-fixrc.txz
StandAlone: NO
RequiresReboot: NO
DetailsURL: http://www.pcbsd.org/
Personal tools