Difference between revisions of "Update Manager/9.2/en"

From PC-BSD Wiki
Jump to: navigation, search
(Importing a new version from external source)
(Importing a new version from external source)
(11 intermediate revisions by one user not shown)
Line 20: Line 20:
 
|[[File:Pbiupdates1.png|text-bottom|36px]]
 
|[[File:Pbiupdates1.png|text-bottom|36px]]
 
|newer versions of installed PBI(s) are available
 
|newer versions of installed PBI(s) are available
 +
|-
 +
|[[File:Pkgupdates.png|text-bottom|36px]]
 +
|newer versions of installed packages are available
 
|-
 
|-
 
|[[File:Connecterror1.png|text-bottom|36px]]
 
|[[File:Connecterror1.png|text-bottom|36px]]
Line 31: Line 34:
 
|}
 
|}
  
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®]].
+
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 {{local|link=Package Manager}}, {{local|link=AppCafe®}}, and {{local|link=Warden®}}.
  
 
[[File:Update1d.png|thumb|'''Figure 7.3a: Right-click Menu for Update Manager''']]  
 
[[File:Update1d.png|thumb|'''Figure 7.3a: Right-click Menu for Update Manager''']]  
[[File:Update2b.png|thumb|393px|'''Figure 7.3b: Update Manager''']]
+
[[File:Update2b.png|thumb|393px|'''Figure 7.3b: Applying a System Update''']]
  
 
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'''.
 
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'''.
Line 40: Line 43:
 
===Applying a System Update===  
 
===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.
+
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. If the update is based on a FreeBSD security advisory, the update is usually available within 24 hours of the FreeBSD security announcement. 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 click the entry for a listed update, the “Update Details” box will provide some details about the update.  
 
If your system is fully up-to-date, there will not be any entries in Update Manager. If you click the entry for a listed update, the “Update Details” box will provide some details about the update.  
Line 50: Line 53:
 
===Upgrading the Operating System===
 
===Upgrading the Operating System===
  
Update Manager can also be used to upgrade to the latest version of the operating system.
+
If you are running a {{local|link=Using a Rolling Release|rolling release}}, Update Manager can 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.
 
  
* 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®]].
+
{{redlight|IMPORTANT NOTE--README BEFORE ATTEMPTING AN UPGRADE!}}
  
* 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.
+
<blockquote style="border: 2px solid #666; padding: 10px; background-color: #ccc;">PC-BSD® has switched to ZFS-only. This means that you can not upgrade a system that is either 32-bit or formatted with UFS. If the hardware supports 64-bit, you will need to backup your important data to another system or external drive and then perform a new installation. The new installation will perform format the selected disk(s) with ZFS.</blockquote>
 +
<blockquote style="border: 2px solid #666; padding: 10px; background-color: #ccc;">The boot loader and default ZFS layout changed with the July 23, 2013 rolling release. This change was needed to support [[Boot Manager|boot environments]] and ZFS snapshot management with [[Life Preserver]]. This means that you can ''' ''not'' ''' upgrade from a release prior to that date. If you are running PC-BSD® 9.1-RELEASE or a rolling release prior to July 23, you will need to backup your important data to another system or external drive and then perform a new installation. The new installation will create the required ZFS layout.</blockquote>
  
* an upgrade will preserve the data in the home directories, any installed PBIs, and user accounts. It also preserves common configuration files and will merge any customizations you have made into the new versions of the following files: ''boot/loader.conf'', ''/etc/rc.conf'', and ''/etc/sysctl.conf.''
+
<blockquote style="border: 2px solid #666; padding: 10px; background-color: #ccc;">The ZFS version changed between 9.2 and 9.1 and ZFS does not support downgrading to an earlier version of ZFS. This means that you cannot downgrade a 9.2 installation to a 9.1 installation.</blockquote>
  
{{note|width=46%|icon64=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.}}
+
''' ''Before performing an operating system upgrade, always back up the data that is important to you. {{local|link=Life Preserver}} can be used to backup your home directory to a remote system. It is also recommended to use {{local|link=Boot Manager}} to backup your current boot environment before performing the 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:
+
[[File:Update4a.png|thumb|393px|'''Figure 7.3c: Upgrading the Operating System''']]
  
* the download status of the ''PCBSD.tbz'' upgrade file
+
Before attempting an upgrade, you should also be aware of the following caveats:
  
* the download status of the software packages that are installed with the operating system and which have newer available versions
+
* it is not possible to upgrade from FreeBSD to PC-BSD®. However, you can {{local|link=Convert_a_FreeBSD_System_to_PC-BSD®|convert a FreeBSD system to PC-BSD®}}.
 +
 
 +
* 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 and will merge any customizations you have made into the new versions of the following files: ''boot/loader.conf'', ''/etc/rc.conf'', and ''/etc/sysctl.conf.''
  
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 you have backed up your data and confirmed that your version of PC-BSD® is older than July 23, you can use Update Manager to upgrade the operating system. In the example shown in Figure 7.3c, the "Base System Updates" indicates that a system advisory is available, as well as an update to 9.2-RC3 and then 9.2-RC4. The "Update Details" section lists the files that will be changed if the system is upgraded.
  
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.
+
{{note|width=46%|icon64=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.}}
{{warning|width=46%|align=right|icon64=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):
+
To perform the upgrade, check the box for the "Base System Updates" entry and click the "Install selected updates" button. A progress bar will indicate the download status of the files that changed with the upgrade.
  
{{txtbox|box=<nowiki>##############################################################</nowiki>
+
Once the downloads are finished and applied, Update Manager will indicate that the system is fully updated. Close any applications that you have open, then reboot in order to load the latest version of the operating system.
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.
+
>
+
|txt=
+
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.}}
+
{{txtbox|box={{pound}} PC-BSD System Upgrade
+
{{pound}} Updating to 9.1
+
{{pound}} Please do NOT reboot the system until the update is finished
+
<nowiki>##############################################################</nowiki>{{nbsp|2}}
+
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!
+
|txt=
+
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.}}
+
{{txtbox|box={{pound}} PC-BSD System Upgrade
+
{{pound}} Updating to 9.1
+
{{pound}} Please do NOT reboot the system until the update is finished
+
<nowiki>##############################################################</nowiki>{{nbsp|2}}
+
Installing system packages...
+
Cleaning up...DONE
+
Update finished! Rebooting...
+
|txt=
+
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.}}
+
  
 
<noinclude>
 
<noinclude>

Revision as of 10:16, 25 September 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
Pkgupdates.png newer versions of installed packages 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®/9.2.

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

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. If the update is based on a FreeBSD security advisory, the update is usually available within 24 hours of the FreeBSD security announcement. 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 click the entry for a listed update, the “Update Details” box 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

If you are running a rolling release, Update Manager can be used to upgrade to the latest version of the operating system.




 IMPORTANT NOTE--README BEFORE ATTEMPTING AN UPGRADE! 

PC-BSD® has switched to ZFS-only. This means that you can not upgrade a system that is either 32-bit or formatted with UFS. If the hardware supports 64-bit, you will need to backup your important data to another system or external drive and then perform a new installation. The new installation will perform format the selected disk(s) with ZFS.
The boot loader and default ZFS layout changed with the July 23, 2013 rolling release. This change was needed to support boot environments and ZFS snapshot management with Life Preserver. This means that you can not upgrade from a release prior to that date. If you are running PC-BSD® 9.1-RELEASE or a rolling release prior to July 23, you will need to backup your important data to another system or external drive and then perform a new installation. The new installation will create the required ZFS layout.
The ZFS version changed between 9.2 and 9.1 and ZFS does not support downgrading to an earlier version of ZFS. This means that you cannot downgrade a 9.2 installation to a 9.1 installation.

Before performing an operating system upgrade, always back up the data that is important to you. Life Preserver/9.2 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.

Figure 7.3c: Upgrading the Operating System

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

  • 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 and will merge any customizations you have made into the new versions of the following files: boot/loader.conf, /etc/rc.conf, and /etc/sysctl.conf.

Once you have backed up your data and confirmed that your version of PC-BSD® is older than July 23, you can use Update Manager to upgrade the operating system. In the example shown in Figure 7.3c, the "Base System Updates" indicates that a system advisory is available, as well as an update to 9.2-RC3 and then 9.2-RC4. The "Update Details" section lists the files that will be changed if the system is upgraded.

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 "Base System Updates" entry and click the "Install selected updates" button. A progress bar will indicate the download status of the files that changed with the upgrade.

Once the downloads are finished and applied, Update Manager will indicate that the system is fully updated. Close any applications that you have open, then reboot in order to load the latest version of the operating system.


References


Other languages:German 13% • ‎English 100% • ‎French 7%