Difference between revisions of "Pc-updatemanager/9.2"

From PC-BSD Wiki
Jump to: navigation, search
(Upgrading Packages)
(Upgrading Packages)
Line 41: Line 41:
 
  snip download output
 
  snip download output
  
While it has been snipped from this example, the update process will download the latest versions of the packages which need updating, displaying the download progress for each file.
+
While the output has been snipped from this example, the update process will download the latest versions of the packages which need updating, displaying the download progress for each file.
  
 
===Applying System Updates=== <!--T:34-->
 
===Applying System Updates=== <!--T:34-->

Revision as of 10:34, 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.

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
Upgrades have been requested for the following 253 packages:
list of packages snipped
The upgrade will require 70 MB more space
439 MB to be downloaded
To start the upgrade run "/usr/local/bin/pc-updatemanager pkgupdate"

In this example, newer versions are available for 253 packages. The list of package names was snipped from the sample output. If no updates were available, the output would have instead said "All packages are up to date!".

If updates are available, you can install them with this command:

pc-updatemanager pkgupdate
Updating repository catalogue
snip download output

While the output has been snipped from this example, the update process will download the latest versions of the packages which need updating, displaying the download progress for each file.

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

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.

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 14% • ‎English 100% • ‎French 9%