在 Oracle Solaris 系统上,如果在 'pkg' 系统中配置的发布者无效,则安装 Oracle Hardware Management Pack 时会遇到多个错误并且将不会正确安装任何工具。下面是一个错误消息示例:
Custom Action: InstallSolaris11 Status: ERROR Additional Notes: ERROR - class InstallSolaris11 NonfatalInstallException pkg: 1/2 catalogs successfully updated: Unable to contact valid package repository Encountered the following error(s): Unable to contact any configured publishers. This is likely a network configuration problem. file protocol error: code: 22 reason: The path '/mnt/repo' does not contain a valid package repository. Repository URL: 'file:///mnt/repo'. (happened 2 times)
解决方法
如果遇到此错误消息:
删除错误消息中显示的与系统信息库 URL 关联的发布者。
卸载 Oracle Hardware Management Pack。
重新安装 Oracle Hardware Management Pack。