我已在 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]