You added an update to the system using a support repository updates (SRU) image:
# mkdir /SRU
# mount –F hsfs /var/tem/sru-name.iso /SRU
# pkgrecv –s /SRU/repo –d /export/IPS/repo ‘*’
You now want to clear all catalog, search and other cached information from this package
repository. Select the command that clears cached data.
A.
pkg refresh
B.
pkgrepo rebuild
C.
pkgrepo refresh
D.
pkg.depotd restart
Explanation:
pkgrepo rebuild [-p publisher …] -s repo_uri_or_path [–no-catalog] [–no-index]
Discards all catalog, search, and other cached information found in the repository, and then
recreates it based on the current contents of the repository.
Incorrect:
Not A: pkg refresh [–full] [publisher …]
Updates the client’s list of available packages and publisher metadata for each publisher specified.
If no publishers are specified, the operation is performed for all publishers.
B
B