man pages section 1: User Commands

Exit Print View

Updated: July 2014
 
 

pm-updatemanager(1)

Name

pm-updatemanager - application to update packages

Synopsis

/usr/bin/pm-updatemanager [options]
/usr/bin/pm-updatemanager [-h | --help] [-d | --debug]
    [-R dir | --image-dir dir]

Description

pm-updatemanager checks for and installs available updates for the packages installed on the system.


Note - If the package/pkg, package/pkg/package-manager , or package/pkg/update-manager packages need to be updated, pm-updatemanager first updates these packages and then restarts to carry out any remaining updates.

Options

The following options are supported:

–h
–-help

Display a usage message.

–d
–-debug

Run pm-updatemanager in debug mode.

–R dir
–-image-dir dir

Operate on the image rooted at dir, rather than on the image discovered automatically.

Examples

Example 1 Update the Current Image

Invoke pm-updatemanager on the current image. This checks for and installs all available updates for packages installed in the current image.

$ /usr/lib/pm-launch pm-updatemanager

This is the same command that the desktop menu option System>Administration>Update Manager invokes.

Example 2 Update a Specified Image

Invoke pm-updatemanager on the image stored at /aux0/example_root.

$ /usr/lib/pm-launch pm-updatemanager -R /aux0/example_root

Exit Status

The following exit values are returned:

0

Everything worked.

1

An error occurred.

2

Invalid command line options were specified.

Attributes

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
package/pkg/update-manager
Interface Stability
Uncommitted

See also

packagemanager(1), pkg(1), pkg(5)

https://java.net/projects/ips/pages/Home

Notes

When operating on an image you do not own, pm-updatemanager needs to be invoked with enough privilege. You will normally invoke pm-updatemanager using /usr/lib/pm-launch under these circumstances.