当前位置: 代码迷 >> Solaris >> Solaris 10上安装SUNWI15CS SUNWI1CS出错(急)
  详细解决方案

Solaris 10上安装SUNWI15CS SUNWI1CS出错(急)

热度:6154   发布时间:2013-02-26 00:00:00.0
Solaris 10下安装SUNWI15CS SUNWI1CS出错(急)
这2个包我是ZIP传到Solaris10上的
然后unzip解压到/val/spool/pkg下 
包是去确实存在的。
然后我使用pkgadd 命令的时候报一个包未找打的错误。能帮我看看什么原因吗。
              pkgadd -d SUNWI15CS
              pkgadd -d SUNWI1CS
 也试了         
              pkgadd  SUNWI15CS
              pkgadd  SUNWI1CS

下面是操作步骤和报错信息:

# unzip pkg.zip
Archive:  pkg.zip
   creating: SUNWI15CS/
   creating: SUNWI15CS/ARCHIVE/
 extracting: SUNWI15CS/ARCHIVE/NONE.7Z
   creating: SUNWI15CS/INSTALL/
  inflating: SUNWI15CS/INSTALL/COPYRIGHT
  inflating: SUNWI15CS/INSTALL/DEPEND
  inflating: SUNWI15CS/INSTALL/I.NONE
  inflating: SUNWI15CS/PKGINFO
  inflating: SUNWI15CS/PKGMAP
   creating: SUNWI15CS/RELOC/
   creating: SUNWI1CS/
   creating: SUNWI1CS/ARCHIVE/
 extracting: SUNWI1CS/ARCHIVE/NONE.7Z
   creating: SUNWI1CS/INSTALL/
  inflating: SUNWI1CS/INSTALL/COPYRIGHT
 extracting: SUNWI1CS/INSTALL/DEPEND
  inflating: SUNWI1CS/INSTALL/I.NONE
  inflating: SUNWI1CS/PKGINFO
  inflating: SUNWI1CS/PKGMAP
   creating: SUNWI1CS/RELOC/
# ls
SUNWI15CS  SUNWI1CS   SUNWi15cs  SUNWi1cs   pkg.zip
# pkgadd  SUNWI15CS
pkgadd: ERROR: no packages were found in </var/spool/pkg>
# pkgadd -d  SUNWI15CS
pkgadd: ERROR: no packages were found in </var/spool/pkg/SUNWI15CS>
# pkgadd -d  SUNWIl5CS
pkgadd: ERROR: attempt to process datastream failed
    - open of <SUNWIl5CS> failed, errno=2
pkgadd: ERROR: could not process datastream from <SUNWIl5CS>
# pkgadd -d  SUNWI15CS
pkgadd: ERROR: no packages were found in </var/spool/pkg/SUNWI15CS>
# PWD
PWD: not found
# pwd
/var/spool/pkg
# pkgadd /var/spool/pkg/SUNWI15cs
pkgadd: ERROR: no packages were found in </var/spool/pkg>
# pkgadd SUNWI1CS
pkgadd: ERROR: no packages were found in </var/spool/pkg>
------解决方案--------------------------------------------------------
SUNWI15cs 大小写错误,

------解决方案--------------------------------------------------------
LANG=C;export LANG
然后重新试一下
------解决方案--------------------------------------------------------
看样子你的pkg.zip没有解压啊
unzip到/var/spool/pkg试试?
------解决方案--------------------------------------------------------
有点乱哦,帮顶一下啊。
------解决方案--------------------------------------------------------
引用:
看样子你的pkg.zip没有解压啊 
unzip到/var/spool/pkg试试?


我认为也是这种问题