免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: zhangyudong1987
打印 上一主题 下一主题

solaris11建立IPS库有问题,安装不了gnome(solaris-desktop) [复制链接]

论坛徽章:
2
卯兔
日期:2014-08-21 14:59:16IT运维版块每日发帖之星
日期:2015-09-30 06:20:00
11 [报告]
发表于 2012-11-08 15:04 |只看该作者
回复 10# doging


    我需要先下载11.11的包再执行这两条命令,还是直接执行?
下面是直接执行的;那如果说是直接下载11.11的包,是不是应该就没有这种问题了?

root@solaris11 # pkg update -v
Creating Plan \               
pkg update: No solution was found to satisfy constraints
Plan Creation: Package solver has not found a solution to update to latest available versions.
This may indicate an overly constrained set of packages are installed.

latest incorporations:

  pkg://solaris/consolidation/admin/admin-incorporation@0.5.11,5.11-0.175.1.0.0.5.0:20111212T232623Z
  pkg://solaris/consolidation/cns/cns-incorporation@0.5.11,5.11-0.175.1.0.0.23.0:20120820T162238Z
  pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184141Z
  pkg://solaris/consolidation/userland/userland-incorporation@0.5.11,5.11-0.175.1.0.0.24.0:20120904T170613Z
  pkg://solaris/consolidation/sunpro/sunpro-incorporation@0.5.11,5.11-0.175.1.0.0.19.0:20120625T151735Z
  pkg://solaris/consolidation/gfx/gfx-incorporation@0.5.11,5.11-0.175.1.0.0.5.0:20111212T232623Z
  pkg://solaris/consolidation/install/install-incorporation@0.5.11,5.11-0.175.1.0.0.24.1736:20120912T193249Z
  pkg://solaris/consolidation/SunVTS/SunVTS-incorporation@0.5.11,5.11-0.175.1.0.0.14.0:20120416T200729Z
  pkg://solaris/consolidation/ub_javavm/ub_javavm-incorporation@0.5.11,5.11-0.175.1.0.0.24.1:20120904T175215Z
  pkg://solaris/consolidation/ips/ips-incorporation@0.5.11,5.11-0.175.1.0.0.24.0:20120904T180327Z
  pkg://solaris/consolidation/sfw/sfw-incorporation@0.5.11,5.11-0.175.1.0.0.5.0:20111212T232623Z
  pkg://solaris/consolidation/ldoms/ldoms-incorporation@0.5.11,5.11-0.175.1.0.0.21.1:20120723T182124Z
  pkg://solaris/consolidation/desktop/gnome-incorporation@0.5.11,5.11-0.175.1.0.0.22.0:20120806T171142Z
  pkg://solaris/consolidation/vpanels/vpanels-incorporation@0.5.11,5.11-0.175.1.0.0.17.0:20120529T220223Z
  pkg://solaris/consolidation/desktop/desktop-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T183843Z
  pkg://solaris/consolidation/dbtg/dbtg-incorporation@0.5.11,5.11-0.175.1.0.0.15.0:20120501T214422Z
  pkg://solaris/consolidation/man/man-incorporation@0.5.11,5.11-0.175.1.0.0.21.0:20120723T163455Z
  pkg://solaris/consolidation/smcc/smcc-incorporation@0.5.11,5.11-0.175.1.0.0.5.0:20111212T232623Z
  pkg://solaris/entire@0.5.11,5.11-0.175.1.0.0.24.2:20120919T190135Z
  pkg://solaris/consolidation/nspg/nspg-incorporation@0.5.11,5.11-0.175.1.0.0.5.0:20111212T232623Z
  pkg://solaris/consolidation/l10n/l10n-incorporation@0.5.11,5.11-0.175.1.0.0.23.1134:20120820T154803Z
  pkg://solaris/consolidation/sic_team/sic_team-incorporation@0.5.11,5.11-0.175.1.0.0.5.0:20111212T230120Z
  pkg://solaris/consolidation/X/X-incorporation@0.5.11,5.11-0.175.1.0.0.24.1317:20120904T175757Z
  pkg://solaris/consolidation/nvidia/nvidia-incorporation@0.5.11,5.11-0.175.1.0.0.22.0:20120806T175117Z
  pkg://solaris/consolidation/cacao/cacao-incorporation@0.5.11,5.11-0.175.1.0.0.11.0:20120305T152551Z
  pkg://solaris/consolidation/solaris_re/solaris_re-incorporation@0.5.11,5.11-0.175.1.0.0.24.3:20120919T185316Z

The following indicates why the system cannot update to the latest version:

  No suitable version of required package pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184141Z found:
    Reject:  pkg://solaris/consolidation/osnet/osnet-incorporation@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184141Z
    Reason:  A version for 'incorporate' dependency on pkg:/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2 cannot be found
  No suitable version of required package pkg://solaris/service/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184526Z found:
    Reject:  pkg://solaris/service/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2:20120919T184526Z
    Reason:  A version for 'require' dependency on pkg:/system/file-system/nfs@0.5.11,5.11-0.175.1.0.0.24.2 cannot be found


root@solaris11 # pkg install desktop-solaris
Creating Plan                  
pkg install: The following pattern(s) did not match any allowable packages.  Try
using a different matching pattern, or refreshing publisher information:

        desktop-solaris

root@solaris11 # pkg install solaris-desktop
Creating Plan -               
pkg install: No matching version of group/system/solaris-desktop can be installed:
  Reject:  pkg://solaris/group/system/solaris-desktop@0.5.11,5.11-0.175.1.0.0.24.3:20120919T185317Z
  Reason:  This version is excluded by installed incorporation pkg://solaris/consolidation/ips/ips-incorporation@0.5.11,5.11-0.175.0.0.0.2.2576:20111020T063559Z

root@solaris11 #

论坛徽章:
0
12 [报告]
发表于 2012-11-08 15:16 |只看该作者
直接下载repo 11.11没有问题

从solris11.11升到solris11.1 比较麻烦,参考一下这个

Using the Oracle Solaris Release Repository
Updating to Oracle Solaris 11.1 is a multi-step process due to the requirement that certain system packages must be updated first in order to achieve a successful update for the rest of the system packages.

First, we use pkg update with the --accept option to update a small set of system packages and then we reboot:


# pkg update --accept
# reboot
(SPARC only) If you are running on a SPARC system and have any Oracle Solaris Zones installed, you will need to perform an additional step at this stage. For each zone installed on the system, you will need to remove the pkg:/system/ldoms/ldomsmanager package as follows:


# for z in `zoneadm list`; do zlogin $z pkg uninstall ldomsmanager; done
Next, update the IPS package itself:


# pkg update pkg:/package/pkg
Last, update the rest of the system packages and reboot the system.


To update, we use the --accept flag to pkg update to agree to and accept the terms of the licenses that are being updated. We also use the --be-name flag to provide a new name to the boot environment that will be created.

# pkg update --be-name s11.1ga --accept
# reboot

论坛徽章:
2
卯兔
日期:2014-08-21 14:59:16IT运维版块每日发帖之星
日期:2015-09-30 06:20:00
13 [报告]
发表于 2012-11-08 22:46 |只看该作者
回复 12# doging


    明天到公司试一下;的确是在SPARC下;T5220的机器上面;还有一台机器SOL11装到99%后就报错;但是报错信息在secureCRT下面记录的全部是乱码;很纠结;因为想试下AI安装之类的;

论坛徽章:
2
卯兔
日期:2014-08-21 14:59:16IT运维版块每日发帖之星
日期:2015-09-30 06:20:00
14 [报告]
发表于 2012-11-09 13:59 |只看该作者
回复 12# doging


    root@solaris11 # pkg update --accept
pkg: 0/1 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'.

root@solaris11 #
看样子还是不行

论坛徽章:
2
卯兔
日期:2014-08-21 14:59:16IT运维版块每日发帖之星
日期:2015-09-30 06:20:00
15 [报告]
发表于 2012-11-09 14:01 |只看该作者
回复 12# doging


    root@solaris11 # pkg update pkg:/package/pkg
pkg: 0/1 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'.
这个命令还是一样的错误

论坛徽章:
2
卯兔
日期:2014-08-21 14:59:16IT运维版块每日发帖之星
日期:2015-09-30 06:20:00
16 [报告]
发表于 2012-11-09 14:15 |只看该作者
回复 12# doging


    root@solaris11 # pkg update --be-name s11.1ga --accept
pkg: 0/1 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'.

这几条命令都试过了,还是不行;看来只有下11.11来试一下了。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP