Difference between revisions of "Update Manager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(42 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{NavHeader|back=PBI Manager|forward=Control Panel}}
+
<noinclude>{{NavHeader|back=PBI Manager|forward=Meta Package Manager}}</noinclude>
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, PC-BSD 9.0 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:
+
Update Manager provides a graphical interface that is used for updating the version of PC-BSD® and for applying security updates. It is also used to update installed PBIs, installed system components, and Warden® meta-packages.  The 9.x series of PC-BSD® uses the ''GENERIC'' FreeBSD kernel in order to facilitate upgrading the operating system itself.
  
[[Image:Updated.png]] your system is up-to-date
+
This section describes how to use the Update Manager GUI to update PBIs or Warden® meta-packages and to apply system updates. [[Upgrading PC-BSD®]] demonstrates how to start an operating system upgrade from the GUI.
  
[[Image:Working.png]] the system is currently checking for updates and patches; this happens automatically whenever you boot your system
+
Advanced users can use the following command line utilities to achieve the same results:
  
[[Image:Sysupdates.png]] your operating system is out-of-date and system update(s) or patch(es) are available
+
* [[PBI Manager#pbi update(1) | '''pbi_update''']]: used to update installed PBIs
  
[[Image:Pbiupdates.png]] newer versions of installed PBI(s) are available; click this icon to open AppCafe™ so that you can [[Using_AppCafe™#Updating_Installed_PBIs | update the PBI(s)]]
+
* [[Meta Package Manager | '''pc-metapkgmanager''']]: used to update installed system components or Warden® meta-packages
  
[[Image:Connecterror.png]] the system was unable to check for updates, meaning you should check your Internet connection
+
* [[Upgrading PC-BSD®#Starting the Upgrade From the Command Line | '''pc-updatemanager''']]: used to update the operating system
  
If you right-click the icon, you will see the menu shown in Figure 6.3a:
+
An icon located in the system tray lets you determine at a glance if any of your installed PBIs are out-of-date, or if a system update is available. This icon has several possible states:
  
'''Figure 6.3a: Right-click Menu for Update Manager'''
+
[[Image:Updated1.png]] your system is up-to-date.
  
[[Image:Update1a.png]]
+
[[Image:Working1.png]] the system is currently checking for updates and patches; this happens automatically whenever you boot your system.
  
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).  
+
[[Image:Sysupdates1.png]] your operating system is out-of-date and system update(s) or patch(es) are available.
  
Figure 6.3b shows a screenshot of Update Manager:
+
[[Image:Pbiupdates1.png]] newer versions of installed PBI(s) are available; click this icon to open AppCafe® so that you can [[Using AppCafe®#Updating Installed PBIs | update the PBI(s)]].
  
'''Figure 6.3b: Update Manager'''
+
[[Image:Connecterror1.png]] the system was unable to check for updates, meaning you should check your Internet connection.
 +
 
 +
[[Image:Updating.png]] the system is currently updating. You should see this icon once you click the "Install selected updates" button.
 +
 
 +
[[Image:Restart.png]] the system needs to restart in order for the newly installed update to take effect. You will not be able to use Update Manager again until the system is rebooted.
 +
 
 +
If you right-click the icon, you will see the menu shown in Figure 7.3a. If updates are available for installed PBIs, AppCafe® will also open to the "Installed" tab so that you can view the new versions which are available.
 +
 
 +
'''Figure 7.3a: Right-click Menu for Update Manager'''
 +
 
 +
[[Image:Update1c.png]]
 +
 
 +
By default, updates are checked every 24 hours or whenever you boot the system. You can check for updates at any time by selecting "Check for updates".
 +
 
 +
Selecting "Start the Update Manager" from the right-click menu will open Update Manager so that you can review the available system update(s).
 +
 
 +
Figure 7.3b shows a screenshot of Update Manager:
 +
 
 +
'''Figure 7.3b: Update Manager'''
  
 
[[File:Update2a.png]]
 
[[File:Update2a.png]]
  
If any updates are available, they will be listed; if your system is fully up-to-date, there won't be any entries.  
+
If any updates are available, they will be listed; if your system is fully up-to-date, there will not be any entries.
  
 
If you hover over a listed update, a pop-up menu will provide some details about the update.
 
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:
+
To install an update, check the update(s) that you wish to install and click the "Install selected updates" button. You can watch the progress of the update, as seen in Figure 7.3c:
  
'''Figure 6.3c: Installing a System Update'''
+
'''Figure 7.3c: Installing a System Update'''
  
[[File:Update3a.png]]
+
[[File:Update3b.png]]
  
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.
+
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 will not automatically reboot the system, 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''.
+
<noinclude>
 +
[[category:handbook]]
 +
[[category:Maintaining and Extending PC-BSD®]]
 +
[[category:Update Manager]]
 +
</noinclude>

Revision as of 07:59, 30 October 2012

(Sorry for the inconvenience)

Update Manager provides a graphical interface that is used for updating the version of PC-BSD® and for applying security updates. It is also used to update installed PBIs, installed system components, and Warden® meta-packages. The 9.x series of PC-BSD® uses the GENERIC FreeBSD kernel in order to facilitate upgrading the operating system itself.

This section describes how to use the Update Manager GUI to update PBIs or Warden® meta-packages and to apply system updates. Upgrading PC-BSD® demonstrates how to start an operating system upgrade from the GUI.

Advanced users can use the following command line utilities to achieve the same results:

An icon located in the system tray lets you determine at a glance if any of your installed 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.

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

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

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

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

Updating.png the system is currently updating. You should see this icon once you click the "Install selected updates" button.

Restart.png the system needs to restart in order for the newly installed update to take effect. You will not be able to use Update Manager again until the system is rebooted.

If you right-click the icon, you will see the menu shown in Figure 7.3a. If updates are available for installed PBIs, AppCafe® will also open to the "Installed" tab so that you can view the new versions which are available.

Figure 7.3a: Right-click Menu for Update Manager

Update1c.png

By default, updates are checked every 24 hours or whenever you boot the system. You can check for updates at any time by selecting "Check for updates".

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

Figure 7.3b shows a screenshot of Update Manager:

Figure 7.3b: Update Manager

Update2a.png

If any updates are available, they will be listed; if your system is fully up-to-date, there will not 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 progress of the update, as seen in Figure 7.3c:

Figure 7.3c: Installing a System Update

Update3b.png

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 will not automatically reboot the system, 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.