我正在 Sparc 上安装 OVM 服务器,在安装过程中,一个软件包失败。它没有给我一个清晰的想法。我需要做什么来修复它?
root@ovs-server1:# ./安装
Oracle VM Agent Release 3.4.6 Installer
- Installing Packages
Updating package cache 1/1
Creating Plan (Solver setup): -
pkg install: No matching version of ovm/ovs-agent can be installed:
Reject: pkg://ovm/ovm/[email protected]
Reason: No version matching 'require' dependency system/io/test-drivers can be installed
----------------------------------------
Reject: pkg://solaris/system/io/[email protected]
Reason: This version is excluded by installed incorporation consolidation/osnet/[email protected]
----------------------------------------
There was an error during the installation. The Oracle VM Agent
might not be fully installed or configured.
root@ovs-server1:#
root@ovs-server1:/# pkg list -af system/io/test-drivers
NAME (PUBLISHER) VERSION IFO
system/io/test-drivers (solaris) 11.4-11.4.0.0.1.15.0 ---
root@ovs-server1:/# pkg list -af osnet-incorporation
NAME (PUBLISHER) VERSION IFO
consolidation/osnet/osnet-incorporation (solaris) 11.4-11.4.11.0.1.4.0 i--
consolidation/osnet/osnet-incorporation (solaris) 11.4-11.4.0.0.1.15.0 ---
root@ovs-server1:/#
root@ovs-server1:/# pkg publisher
PUBLISHER TYPE STATUS P LOCATION
solaris origin online F file:///repo/
root@ovs-server1:/# df -h /repo
Filesystem Size Used Available Capacity Mounted on
rpool/repo 25G 10G 15G 41% /repo
root@ovs-server1:/# ls -ltr /repo
total 34
-rw-r--r-- 1 root root 347 Aug 16 2018 pkg5.repository
-rw-r--r-- 1 root root 573 Aug 16 2018 readme.txt
-rw-r--r-- 1 root root 5949 Aug 16 2018 README-repo-iso.txt
-rw-r--r-- 1 root root 1626 Aug 16 2018 NOTICES
-rw-r--r-- 1 root root 3440 Aug 16 2018 COPYRIGHT
drwxr-xr-x 3 root root 3 Feb 27 00:53 publisher
root@ovs-server1:/#
root@ovs-server1:/# pkg list -af entire
NAME (PUBLISHER) VERSION IFO
entire 11.4-11.4.11.0.1.4.0 i--
entire 11.4-11.4.0.0.1.15.0 ---
root@ovs-server1:/# pkg update -nv
No updates available for this image.
root@ovs-server1:/# pfexec pkg update -nv [email protected]
Creating Plan (Solver setup): /
pkg update: Package 'library/python/pillow-34' must be uninstalled or upgraded if the requested operation is to be performed.
Reject: pkg://solaris/library/python/[email protected]
Reason: No version matching 'require' dependency image/library/[email protected] can be installed
----------------------------------------
Reject: pkg://solaris/image/library/[email protected]
Reason: Excluded by proposed incorporation 'consolidation/userland/userland-incorporation'
----------------------------------------
我该如何修复/升级它?
谢谢
答案1
您的 Solaris 存储库似乎出现了问题。
您已安装 SRU11,并且安装程序正在尝试安装相应的 system/io/test-drivers 软件包,但失败了。
我希望 'pkg list -af system/io/test-drivers' 显示该软件包的 SRU11 版本(如果可用)。但事实并非如此。
例如,如果系统更新到 SRU11、从未安装 system/io/test-drivers,然后有人取消设置发布者,则可能会发生这种情况。
您需要检查 Solaris 发布者是否指向 Oracle 的支持存储库或包含 SRU11 所有内容的内部副本。