1Z0-822 · Question #113
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…
The correct answer is B. pkgrepo rebuild. 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. Not A: pkg refresh [--full] [publisher…
Question
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.
Options
- Apkg refresh
- Bpkgrepo rebuild
- Cpkgrepo refresh
- Dpkg.depotd restart
How the community answered
(36 responses)- B92% (33)
- C3% (1)
- D6% (2)
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. 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.
Topics
Community Discussion
No community discussion yet for this question.