Difference between revisions of "Update Manager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(15 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
<noinclude>{{NavHeader|back=PBI Manager|forward=Meta Package Manager}}</noinclude>
 
<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 operating system, installed PBIs, and system components 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 facilitate upgrading the operating system itself.
 
  
Update Manager provides an easy to use GUI; however, the underlying mechanism is based on the '''pc-updatemanager''' shell script. This means that advanced users don't need to run a window manager in order to use the upgrade functionality. '''pc-updatemanager''' uses '''sudo''' so that regular user accounts can run upgrades without requiring access to the root password.
+
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.
  
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:  
+
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:
 +
 
 +
* [[PBI Manager#pbi update(1) | '''pbi_update''']]: used to update installed PBIs
 +
 
 +
* [[Meta Package Manager | '''pc-metapkgmanager''']]: used to update installed system components or Warden® meta-packages
 +
 
 +
* [[Upgrading PC-BSD®#Starting the Upgrade From the Command Line | '''pc-updatemanager''']]: used to update the operating system
 +
 
 +
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:
  
 
[[Image:Updated1.png]] your system is up-to-date.
 
[[Image:Updated1.png]] your system is up-to-date.
Line 10: Line 19:
 
[[Image:Working1.png]] the system is currently checking for updates and patches; this happens automatically whenever you boot your system.
 
[[Image:Working1.png]] the system is currently checking for updates and patches; this happens automatically whenever you boot your system.
  
[[Image:Sysupdates1.png]] your operating system is out-of-date and system update(s) or patch(es) are available.  
+
[[Image:Sysupdates1.png]] your operating system is out-of-date and system update(s) or patch(es) are available.
  
[[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)]].
+
[[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)]].
  
 
[[Image:Connecterror1.png]] the system was unable to check for updates, meaning you should check your Internet connection.
 
[[Image:Connecterror1.png]] the system was unable to check for updates, meaning you should check your Internet connection.
Line 20: Line 29:
 
[[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.
 
[[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 6.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.
+
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 6.3a: Right-click Menu for Update Manager'''
+
'''Figure 7.3a: Right-click Menu for Update Manager'''
  
[[Image:Update1b.png]]
+
[[Image:Update1c.png]]
  
Selecting "Start the Update Manager" from the right-click menu will open Update Manager so that you can review the available update(s).  
+
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".
  
Figure 6.3b shows a screenshot of Update Manager:
+
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 6.3b: Update Manager'''
+
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'''
+
 
+
[[File:Update3a.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.
+
  
You can see which updates are available, which have been ignored, and which have been installed by looking at the contents of those subdirectories within ''/var/db/pc-updatemanager''. Each update ends in a ''.upd'' extension. A ''.upd'' file contains information about the update, as seen in the following example:
+
'''Figure 7.3c: Installing a System Update'''
  
NEED MORE RECENT EXAMPLE
+
[[File:Update3b.png]]
  
'''more /var/db/pc-updatemanager/installed/9-STABLE-20120418/updatemanager-20120528.upd '''
+
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.
Name: Update Manager Bugfixes
+
Date: 05-28-2012
+
MD5: 0a29079b94b2f3f1b1e105e6f67c786a
+
Size: 1
+
Mirror: <nowiki>ftp://ftp.pcbsd.org/pub/</nowiki>
+
FileURL: /system-updates/noarch/updatemanager-20120528.txz
+
StandAlone: NO
+
RequiresReboot: NO
+
DetailsURL: <nowiki>http://www.pcbsd.org/content/view/75/30/</nowiki>
+
  
 
<noinclude>
 
<noinclude>
 
[[category:handbook]]
 
[[category:handbook]]
[[category:Maintaining and Extending PC-BSD]]
+
[[category:Maintaining and Extending PC-BSD®]]
 
[[category:Update Manager]]
 
[[category:Update Manager]]
 
</noinclude>
 
</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.