![获取有关 Solaris 11 上未安装 SRU 的信息](https://linux22.com/image/12564/%E8%8E%B7%E5%8F%96%E6%9C%89%E5%85%B3%20Solaris%2011%20%E4%B8%8A%E6%9C%AA%E5%AE%89%E8%A3%85%20SRU%20%E7%9A%84%E4%BF%A1%E6%81%AF.png)
我已在 Solaris 11.4x86 VM 上注册了存储库。当我尝试获取 SRU 时,我收到了几个结果,其中之一已安装:
# pkg list -af entire
...
entire 11.4-11.4.3.0.1.5.0 ---
entire 11.4-11.4.2.0.1.3.0 i--
entire 11.4-11.4.1.0.1.4.0 ---
entire 11.4-11.4.0.0.1.15.0 ---
entire 0.5.11-0.175.3.35.0.6.0 ---
...
要获取有关已安装(11.4-11.4.2.0.1.3.0)的信息,我可以使用
# pkg info [email protected]
and receive Summary, State, Packaging Date etc.
For not installed (all other instances) I receive:
# pkg info [email protected]
pkg: info: no packages matching the following patterns you specified are
installed on the system. Try querying remotely instead:
[email protected]
我的问题是:如何从可用列表中接收有关所有整个 SRU 的详细信息?
或者你能告诉我在哪里可以读到这方面的内容吗?
答案1
此命令获取所需的信息:
pkg info -r [email protected]