Difference between revisions of "Update Manager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Marked this version for translation)
(Upgrading the Operating System)
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<noinclude><translate>
 
<noinclude><translate>
 
<!--T:21-->
 
THIS PAGES NEEDS UPDATING
 
  
 
<!--T:1-->
 
<!--T:1-->
Line 8: Line 5:
  
 
<!--T:2-->
 
<!--T:2-->
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. [[File:Update1c.png|thumb|'''Figure 7.3a: Right-click Menu for Update Manager''']] The 9.x series of PC-BSD® uses the ''GENERIC'' FreeBSD kernel in order to facilitate upgrading the operating system itself.
+
Update Manager provides a graphical interface for updating the version of PC-BSD® and for applying security updates. This utility can be started from Control Panel or by typing '''pc-updategui'''. It can also be accessed from its icon in the system tray, if you are logged into a desktop that provides a system tray.
  
<!--T:3-->
+
The status of the icon lets you determine at a glance if any of your installed applications are out-of-date, if a system update is available, or if a new version of the operating system is available. Table 7.3a summarizes the possible statuses of this icon.
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.
+
  
<!--T:4-->
+
'''Table 7.3a: Update Manager Status'''
Advanced users can use the following command line utilities to achieve the same results:
+
 
+
<!--T:5-->
+
* [[PBI Manager#pbi update(1) | '''pbi_update''']]: used to update installed PBIs
+
 
+
<!--T:6-->
+
* [[Package Manager | '''pc-metapkgmanager''']]: used to update installed system components or Warden® meta-packages
+
 
+
<!--T:7-->
+
* [[Upgrading PC-BSD®#Starting the Upgrade From the Command Line | '''pc-updatemanager''']]: used to update the operating system
+
 
+
=== Status Icon === <!--T:8-->
+
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:
+
[[File:Update2a.png|thumb|393px|'''Figure 7.3b: Update Manager''']]
+
[[File:Update3b.png|thumb|393px|'''Figure 7.3c: Installing a System Update''']]
+
  
 
<!--T:9-->
 
<!--T:9-->
 
{|class=simple_table width=48% <!-- special case - not converted to other table style/format -->
 
{|class=simple_table width=48% <!-- special case - not converted to other table style/format -->
 
|[[File:Updated1.png|text-bottom|36px]]
 
|[[File:Updated1.png|text-bottom|36px]]
|your system is up-to-date.
+
|your system is up-to-date
 
|-
 
|-
 
|[[File:Working1.png|text-bottom|36px]]
 
|[[File:Working1.png|text-bottom|36px]]
|the system is currently checking for updates and patches; this happens automatically whenever you boot your system.
+
|the system is currently checking for updates and patches
 
|-
 
|-
 
|[[File:Sysupdates1.png|text-bottom|36px]]
 
|[[File:Sysupdates1.png|text-bottom|36px]]
|your operating system is out-of-date and system update(s) or patch(es) are available.
+
|your operating system is out-of-date and system update(s) or patch(es) are available
 
|-
 
|-
 
|[[File:Pbiupdates1.png|text-bottom|36px]]
 
|[[File:Pbiupdates1.png|text-bottom|36px]]
|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)]].
+
|newer versions of installed PBI(s) are available
 
|-
 
|-
 
|[[File:Connecterror1.png|text-bottom|36px]]
 
|[[File:Connecterror1.png|text-bottom|36px]]
|the system was unable to check for updates, meaning you should check your Internet connection.
+
|the system was unable to check for updates, meaning you should check your Internet connection
 
|-
 
|-
 
|[[File:Updating.png|text-bottom|36px]]
 
|[[File:Updating.png|text-bottom|36px]]
|the system is currently updating. You should see this icon once you click the "Install selected updates" button.
+
|the system is currently updating
 
|-
 
|-
 
|[[File:Restart.png|text-bottom]]
 
|[[File:Restart.png|text-bottom]]
|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.
+
|the system needs to restart in order for the newly installed update to take effect
 
|}
 
|}
  
 
<!--T:10-->
 
<!--T:10-->
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.
+
If you right-click the icon, you will see the menu shown in Figure 7.3a. As seen in the menu, Update Manager will automatically track updates to software installed using either the graphical or command line equivalents of [[Package Manager]], [[AppCafe®]], and [[Warden®]].
 +
 
 +
[[File:Update1d.png|thumb|'''Figure 7.3a: Right-click Menu for Update Manager''']]
 +
[[File:Update2b.png|thumb|393px|'''Figure 7.3b: Update Manager''']]
  
 
<!--T:11-->
 
<!--T:11-->
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".
+
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". To disable the update check when the system boots, uncheck the "Run at startup" box. To disable the pop-up message over the icon when an update becomes available, uncheck the "Display notifications" box. To remove Update Manager from the system tray, click "Quit". You can put the icon back into the tray by typing '''pc-systemupdatertray'''.
 +
 
 +
===Applying a System Update===
  
 
<!--T:12-->
 
<!--T:12-->
Selecting "Start the Update Manager" from the right-click menu will open Update Manager so that you can review the available system update(s).  
+
Occasionally, the PC-BSD® project releases a system update which addresses a fixed security vulnerability or a bug which impacts the use of the operating system. To install a system update, open Update Manager. Figure 7.3b shows an example of an available system update within Update Manager.
 
+
<!--T:13-->
+
Figure 7.3b shows a screenshot of Update Manager.
+
  
 
<!--T:14-->
 
<!--T:14-->
If any updates are available, they will be listed; if your system is fully up-to-date, there will not be any entries.
+
If your system is fully up-to-date, there will not be any entries in Update Manager. If you hover over a listed update, a pop-up menu will provide some details about the update.
 
+
<!--T:15-->
+
If you hover over a listed update, a pop-up menu will provide some details about the update.
+
  
 
<!--T:16-->
 
<!--T:16-->
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:
+
To install an update, highlight its entry and click the "Install selected updates" button. A progress bar will indicate the progress of the update.
  
 
<!--T:17-->
 
<!--T:17-->
 
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.
 
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.
  
<!--T:22-->
+
===Upgrading the Operating System===
THIS IS CHANGING
+
  
<!--T:23-->
+
Update Manager can also be used to upgrade to the latest version of the operating system.
PC-BSD® makes it easy to upgrade from an earlier version of 9.x (including beta and RC versions) to the latest version of PC-BSD®. When the upgrade is finished, simply reboot to access the new version of your PC-BSD® operating system. The upgrade can be performed using [[Update Manager | the graphical Update Manager]] or from the command line.
+
 
 +
'''NOTE:''' if you wish to upgrade the operating system every month instead of waiting until the next release, refer to [[Using a Rolling Release]].  
 +
 
 +
''' ''Before performing an operating system upgrade, always back up the data that is important to you. [[Life Preserver]] can be used to backup your home directory to a remote system. It is also recommended to use [[Boot Manager]] to backup your current boot environment before performing the upgrade.'' '''
  
 
<!--T:24-->
 
<!--T:24-->
Before attempting an upgrade, be aware of the following caveats:
+
Before attempting an upgrade, you should also be aware of the following caveats:
  
 
<!--T:25-->
 
<!--T:25-->
* 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.  
+
* it is not recommended to update between major branches: for example, from a 8.x version to a 9.x version of PC-BSD®. Instead, backup your data and do a fresh install of the new version.
 +
 
 +
* you will not be able to upgrade to 9.2 if the current operating system is either 32-bit or formatted with UFS.
  
 
<!--T:26-->
 
<!--T:26-->
* it is not possible to upgrade from FreeBSD to PC-BSD®.
+
* it is not possible to upgrade from FreeBSD to PC-BSD®. However, you can [[Convert_a_FreeBSD_System_to_PC-BSD®|convert a FreeBSD system to PC-BSD®]].
  
 
<!--T:27-->
 
<!--T:27-->
 
* the temporary files used by the upgrade process require 2GB of free space in ''/usr/''. If you receive an error message indicating that you do not have enough free space to perform the upgrade, you will need to delete some files or move them elsewhere in order to create enough free space.
 
* the temporary files used by the upgrade process require 2GB of free space in ''/usr/''. If you receive an error message indicating that you do not have enough free space to perform the upgrade, you will need to delete some files or move them elsewhere in order to create enough free space.
 
<!--T:28-->
 
* '' '''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 a utility such as [[Life Preserver]]. While it is unlikely that something will go wrong, you will be glad that you made that backup just in case.
 
 
<!--T:29-->
 
* ''' ''when you do an upgrade, programs installed via FreeBSD ports or packages will be removed.'' ''' If you want to preserve these across system updates, you should install these within a ports jail using [[Warden®]]. Better yet, [[Submit PBI Requests | request]] that your favorite port/package is made into a PBI as PBIs are preserved during an upgrade.
 
  
 
<!--T:30-->
 
<!--T:30-->
 
* an upgrade will preserve the data in the home directories, any installed PBIs, and user accounts. It also preserves common configuration files--you can view the list of files which are excluded from the upgrade in {{citelink|url=http://trac.pcbsd.org/browser/pcbsd/branches/9.1/build-files/conf/upgrade-excludes|txt=upgrade-excludes}}. The upgrade process will also merge any customizations you have made into the new versions of the following files: ''boot/loader.conf'', ''/etc/rc.conf'', and ''/etc/sysctl.conf.''
 
* an upgrade will preserve the data in the home directories, any installed PBIs, and user accounts. It also preserves common configuration files--you can view the list of files which are excluded from the upgrade in {{citelink|url=http://trac.pcbsd.org/browser/pcbsd/branches/9.1/build-files/conf/upgrade-excludes|txt=upgrade-excludes}}. The upgrade process will also merge any customizations you have made into the new versions of the following files: ''boot/loader.conf'', ''/etc/rc.conf'', and ''/etc/sysctl.conf.''
 
=== Using Update Manager === <!--T:31-->
 
 
<!--T:32-->
 
To start [[Update Manager]], 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 your 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 5.4a, the current operating system is 9.0 and Update Manager is indicating that the upgrade to 9.1 is available.
 
 
<!--T:33-->
 
[[File:Upgrade1a.png|thumb|393px|'''Figure 5.4a: Using Update Manager to Upgrade the Operating System''']]
 
  
 
<!--T:34-->
 
<!--T:34-->
Line 168: Line 138:
 
<!--T:18-->
 
<!--T:18-->
 
<noinclude>
 
<noinclude>
 +
{{Refheading}}
 
[[category:Update Manager]]
 
[[category:Update Manager]]
 
[[category:Maintaining and Extending PC-BSD®]]
 
[[category:Maintaining and Extending PC-BSD®]]

Revision as of 14:11, 28 August 2013

(Sorry for the inconvenience)

Contents

Update Manager provides a graphical interface for updating the version of PC-BSD® and for applying security updates. This utility can be started from Control Panel or by typing pc-updategui. It can also be accessed from its icon in the system tray, if you are logged into a desktop that provides a system tray.

The status of the icon lets you determine at a glance if any of your installed applications are out-of-date, if a system update is available, or if a new version of the operating system is available. Table 7.3a summarizes the possible statuses of this icon.

Table 7.3a: Update Manager Status

Updated1.png your system is up-to-date
Working1.png the system is currently checking for updates and patches
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
Connecterror1.png the system was unable to check for updates, meaning you should check your Internet connection
Updating.png the system is currently updating
Restart.png the system needs to restart in order for the newly installed update to take effect

If you right-click the icon, you will see the menu shown in Figure 7.3a. As seen in the menu, Update Manager will automatically track updates to software installed using either the graphical or command line equivalents of Package Manager, AppCafe®, and Warden®.

Figure 7.3a: Right-click Menu for Update Manager
Figure 7.3b: Update Manager

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". To disable the update check when the system boots, uncheck the "Run at startup" box. To disable the pop-up message over the icon when an update becomes available, uncheck the "Display notifications" box. To remove Update Manager from the system tray, click "Quit". You can put the icon back into the tray by typing pc-systemupdatertray.

Applying a System Update

Occasionally, the PC-BSD® project releases a system update which addresses a fixed security vulnerability or a bug which impacts the use of the operating system. To install a system update, open Update Manager. Figure 7.3b shows an example of an available system update within Update Manager.

If your system is fully up-to-date, there will not be any entries in Update Manager. If you hover over a listed update, a pop-up menu will provide some details about the update.

To install an update, highlight its entry and click the "Install selected updates" button. A progress bar will indicate the progress of the 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 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.

Upgrading the Operating System

Update Manager can also be used to upgrade to the latest version of the operating system.

NOTE: if you wish to upgrade the operating system every month instead of waiting until the next release, refer to Using a Rolling Release.

Before performing an operating system upgrade, always back up the data that is important to you. Life Preserver can be used to backup your home directory to a remote system. It is also recommended to use Boot Manager to backup your current boot environment before performing the upgrade.

Before attempting an upgrade, you should also be aware of the following caveats:

  • it is not recommended to update between major branches: for example, from a 8.x version to a 9.x version of PC-BSD®. Instead, backup your data and do a fresh install of the new version.
  • you will not be able to upgrade to 9.2 if the current operating system is either 32-bit or formatted with UFS.
  • the temporary files used by the upgrade process require 2GB of free space in /usr/. If you receive an error message indicating that you do not have enough free space to perform the upgrade, you will need to delete some files or move them elsewhere in order to create enough free space.
  • an upgrade will preserve the data in the home directories, any installed PBIs, and user accounts. It also preserves common configuration files--you can view the list of files which are excluded from the upgrade in upgrade-excludes[1]. The upgrade process will also merge any customizations you have made into the new versions of the following files: boot/loader.conf, /etc/rc.conf, and /etc/sysctl.conf.
NOTE: If you know that a new release is available and it is not showing in Update Manager, make sure that any updates that do show are applied first. That way, the system will be fully patched and ready for the system upgrade.

To perform the upgrade, 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 these 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 to /usr/local/tmp/.

Once the downloads are finished, a pop-up message will indicate that the system is now ready to reboot in order to finish the upgrade. PC-BSD® will not automatically reboot the system, giving you the opportunity to close any applications that you have open before you reboot the system yourself.

WARNING It is very important that once you reboot, you do not interrupt the upgrade process. This process may take up to 30 minutes, so plan your reboot for a time when you do not need immediate access to your system.

After rebooting, a series of console messages will appear similar to these (depending upon your choices as described):

##############################################################

A system update to PC-BSD is ready to be installed. This may take 30 minutes or more. If you wish to postpone the update, type 'skip' and press enter. You will be prompted again during the next system boot. The update will begin automatically in 20 seconds.

>
Since this portion of the updating process can make your system unavailable for as long as half an hour, this message allows you to skip completing the update for now if you need to reboot into the system.
# PC-BSD System Upgrade

# Updating to 9.1 # Please do NOT reboot the system until the update is finished ##############################################################   Cleaning old system pkgs..... Extracting updated world environment...DONE! Extracting kernel and boot environment...DONE Cleaning up old files...DONE

Rebooting for stage 2 of upgrade...Shutdown NOW!
If you are ready to leave the system alone while it completes the update, do not do anything and the update will begin in 20 seconds. It is important to not reboot the system until this portion of the upgrade completes.
# PC-BSD System Upgrade

# Updating to 9.1 # Please do NOT reboot the system until the update is finished ##############################################################   Installing system packages... Cleaning up...DONE

Update finished! Rebooting...
The system will automatically reboot into the new operating system and continue with the application updates. After that has completed, your system will then reboot into the newly-installed operating system.


References


  1. http://trac.pcbsd.org/browser/pcbsd/branches/9.1/build-files/conf/upgrade-excludes
Other languages:German 13% • ‎English 100% • ‎French 7%