The pkg update command updates installed packages. If you specify a package that is not already installed to the pkg update command, the system does not install that package. The pkg update command takes zero or more names of packages that are already installed. Specifying no package names updates all packages that are installed in the image. See Updating All Installed Packages. Installing and updating packages require increased privileges.
Use the commands described in Getting Information About Packages to identify a package that you want to install. Use the pkg install command to install this package. Tip - Use the -nv options to see what the command will do without making any changes to your image. The following command confirms that this package is already installed and at the correct version. This package could have been installed separately. The following command shows that the package was required by two other packages that are installed.
A new boot environment is automatically created when you update particular system packages such as some drivers and other kernel components. A new boot environment might be automatically created when you install, uninstall, or update. Tip - Explicitly specifying a new boot environment is the safest way to install or update. The new boot environment is a clone of the current boot environment with the specified install, uninstall, or update changes applied.
The current boot environment is not modified. The system is not automatically restarted. The new boot environment is the default boot selection the next time you restart the system. You can download and apply a patch to your system by using the patchadd command. How to Download and Apply a Solaris Patch 4.
Optional Display information about patches that have been applied to your system. Optional Remove a patch from your system. If necessary, remove a patch from your system by using the patchrm command.
Become superuser or assume an equivalent role. Import the Root CA certificate from the temporary file to the package keystore. Display the certificate information. How to Specify a Web Proxy If your system is behind a firewall with a web proxy, you must specify the web proxy to use patchadd to apply a patch.
For example: patchadd -x mycache. If you are running this Solaris release, you can alternately choose one of the following methods: Upgrade any systems that are not running the current Solaris release.
Boot an alternate root as the active OS. For x86 based systems — Install at least revision 19 patch How to Download and Apply a Solaris Patch Use this procedure to download either a signed or an unsigned Solaris patch and then apply it to your system. If you want to apply signed patches, you must first set up the package keystore. Gain access to the system in one of the following ways: Log in to the system where you want to apply the patch.
Determine whether to download a specific patch or a patch cluster, then do one of the following: Type the patch number patch-id in the Find Patch search field, then click Find Patch. Entering patch-id downloads the latest patch revision. Download the patch by following these instructions: To download a copy of the signed patch, click the Download Signed Patch n bytes button.
To download an unsigned patch, click the Download Patch n bytes button. When the patch or patches are successfully downloaded, close the web browser. Improve this answer. I think that's a good idea, at least that does give me a list of installed patches sorted by installed date. The smpatch analyze throws the following error: Failure: Cannot connect to retrieve detectors.
See socket issues above, added to answer — jim mcnamara. You will need an Oracle account and access to internet. If you want to know if a patch is installed, obsoleted or there is an update with "pca " will show it PCA is a perl script which generates lists of installed and missing patches for Oracle Solaris systems and optionally downloads and installs patches. Ackward Ackward 11 1 1 bronze badge. Sign up or log in Sign up using Google. Sign up using Facebook.
Sign up using Email and Password. Post as a guest Name. Email Required, but never shown. The Overflow Blog. Podcast Helping communities build their own LTE networks. Podcast Making Agile work for data science. Featured on Meta.
0コメント