pm-updatemanager - application to update packages
/usr/bin/pm-updatemanager [options]
/usr/bin/pm-updatemanager [-h | --help] [-d | --debug] [-R dir | --image-dir dir]
pm-updatemanager checks for and installs available updates for the packages installed on the system.
The following options are supported:
Display a usage message.
Run pm-updatemanager in debug mode.
Operate on the image rooted at dir, rather than on the image discovered automatically.
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.
使用例 2 Update a Specified ImageInvoke pm-updatemanager on the image stored at /aux0/example_root.
$ /usr/lib/pm-launch pm-updatemanager -R /aux0/example_root
The following exit values are returned:
Everything worked.
An error occurred.
Invalid command line options were specified.
See attributes(5) for descriptions of the following attributes:
|
packagemanager(1), pkg(1), pkg(5)
https://java.net/projects/ips/pages/Home
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.