Difference between revisions of "Pc-updatemanager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Upgrading Packages)
Line 39: Line 39:
  
 
<!--T:35-->
 
<!--T:35-->
Become the superuser and use the following command to check to see if an update is available:
+
To determine if any system updates are available, type the following command as the superuser:  
  
 
<!--T:23-->
 
<!--T:23-->
{{txtbox|box='''pc-updatemanager check'''
+
'''pc-updatemanager check'''
 
The following updates are available:
 
The following updates are available:
 
<nowiki>------------------------------------</nowiki>
 
<nowiki>------------------------------------</nowiki>
NAME: System Update to 9.1
+
}}
TYPE: SYSUPDATE
+
VERSION: 9.1
+
DATE: 2012-12-03
+
TAG: release-9.1
+
DETAILS: {{http}}www.pcbsd.org
+
To install this update run "/usr/local/bin/pc-updatemanager install release-9.1"}}
+
  
 
<!--T:24-->
 
<!--T:24-->

Revision as of 08:35, 23 September 2013

(Sorry for the inconvenience)

Contents

pc-updatemanager is the command line equivalent to Update Manager. It can be used to apply system updates and to perform an operating system upgrade. It can also be used to update packages, providing a command line equivalent to the "Package Updates" tab of Package Manager.

NOTE: before performing an operating system upgrade, read the caveats listed here. Be sure to backup your important data to another system or external device before starting the upgrade.

If you type pc-updatemanager, it will show its available options:

pc-updatemanager

/usr/local/bin/pc-updatemanager - Usage ----   branches - List available system branches                           chbranch <tag> - Change to new system branch   check - Check for system updates   install <tag>,<tag2> - Install system updates   pkgcheck - Check for updates to packages

  pkgupdate - Install packages updates

Upgrading Packages

To determine if newer versions of packages are available, type the following command as the superuser:

pc-updatemanager pkgcheck
Updating repository catalogue
All packages are up to date!

In this example, no package updates are available. Otherwise, the list of outdated packages would be listed. If updates are available, you can install them with this command:

pc-updatemanager pkgupdate

Applying System Updates

To determine if any system updates are available, type the following command as the superuser:

pc-updatemanager check The following updates are available: ------------------------------------ }}

Follow the instructions to install the update:

Upgrading the Operating System

pc-updatemanager install release-9.1                                            

STARTINGUPDATE: 9.1

Downloading Master Files...

The upgrade will then proceed as usual and you will be prompted when the system is ready to reboot.


References


Other languages:German 59% • ‎English 100% • ‎French 9%
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox