一、环境
1、硬件设备:oracle S7-2服务器;
2、操作系统:solaris 11;
3、前提条件:solaris 11的文本安装已经完成,SRU和IPS更新包已经下载更新完成。
二、问题和解决办法
问题:在安装solaris图形界面时执行#pkg install solaris-desktop报出提示:pkg: The following packages require their licenses to be accepted before they can be installed or updated:
解决办法:pkg install --accept pkg://solaris/runtime/java/[email protected],5.11:20180410T023021Z(接受授权即可)
root@xccom2:/# pkg install solaris-desktop
Creating Plan (Solver setup): /May 29 00:13:08 xccom2 sendmail[838]: [ID 702911 mail.alert] unable to qualify my own domain name (xccom2) -- using short name
Packages to install: 332
Mediators to change: 1
Services to change: 13
Create boot environment: No
Create backup boot environment: Yes
pkg: The following packages require their licenses to be accepted before they can be installed or updated:
----------------------------------------
Package: pkg://solaris/runtime/java/[email protected],5.11:20180410T023021Z
License: BCL
License requires acceptance.
To indicate that you agree to and accept the terms of the licenses of the packages listed above, use the --accept option. To display all of the related licenses, use the --licenses option.
root@xccom2:/# pkg install --accept pkg://solaris/runtime/java/[email protected],5.11:20180410T023021Z
Packages to install: 3
Create boot environment: No
Create backup boot environment: No
DOWNLOAD PKGS FILES XFER (MB) SPEED
Completed 3/3 876/876 71.8/71.8 0B/s