The "pkg update" command will ______.

The “pkg update” command will ______.

The “pkg update” command will ______.

A.
update all packages that have updates available including the kernel

B.
update all packages that have updates available excluding the kernel

C.
update only the kernel image

D.
update the global zone packages and non-global zone packages

E.
updateallpackages and the kernel, and then automatically reboot the system

Explanation:
Updating all of the packages on your installed system – To update all of the
packages on your system that have available updates, use the pkg update command, as follows:
# pkg update
Running this command updates packages that you might not otherwise consider updating, for
example, kernel components and other low-level system packages.



Leave a Reply 3

Your email address will not be published. Required fields are marked *


dupek

dupek

I think D is the correct

rocky

rocky

I think dupek is right:

root@sol11-ai:~# pkg update
No updates available for this image.
Planning linked: 0/2 done; 1 working: zone:clonezone
Linked image ‘zone:clonezone’ output:
| No updates necessary for this image. (zone:clonezone)
`
Planning linked: 1/2 done; 1 working: zone:testzone
Linked image ‘zone:testzone’ output:
| No updates necessary for this image. (zone:testzone)
`
Planning linked: 2/2 done

lortiz

lortiz

Option A

From Solaris Documentation: https://docs.oracle.com/cd/E23824_01/html/E24456/gljrq.html

Updating all of the packages on your installed system – To update all of the packages on your system that have available updates, use the pkg update command, as follows:

# pkg update
Running this command updates packages that you might not otherwise consider updating, for example, kernel components and other low-level system packages.

See an example of using this command to update a BE in Managing Boot Environments.