当前位置: 技术问答>linux和unix
Solaris 10下安装SUNWI15CS SUNWI1CS出错(急)
来源: 互联网 发布时间:2016-06-20
本文导语: 这2个包我是ZIP传到Solaris10上的 然后unzip解压到/val/spool/pkg下 包是去确实存在的。 然后我使用pkgadd 命令的时候报一个包未找打的错误。能帮我看看什么原因吗。 pkgadd -d SUNWI15CS ...
这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
# pkgadd -d SUNWI15CS
pkgadd: ERROR: no packages were found in
# pkgadd -d SUNWIl5CS
pkgadd: ERROR: attempt to process datastream failed
- open of failed, errno=2
pkgadd: ERROR: could not process datastream from
# pkgadd -d SUNWI15CS
pkgadd: ERROR: no packages were found in
# PWD
PWD: not found
# pwd
/var/spool/pkg
# pkgadd /var/spool/pkg/SUNWI15cs
pkgadd: ERROR: no packages were found in
# pkgadd SUNWI1CS
pkgadd: ERROR: no packages were found in
然后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
# pkgadd -d SUNWI15CS
pkgadd: ERROR: no packages were found in
# pkgadd -d SUNWIl5CS
pkgadd: ERROR: attempt to process datastream failed
- open of failed, errno=2
pkgadd: ERROR: could not process datastream from
# pkgadd -d SUNWI15CS
pkgadd: ERROR: no packages were found in
# PWD
PWD: not found
# pwd
/var/spool/pkg
# pkgadd /var/spool/pkg/SUNWI15cs
pkgadd: ERROR: no packages were found in
# pkgadd SUNWI1CS
pkgadd: ERROR: no packages were found in
|
LANG=C;export LANG
然后重新试一下
然后重新试一下
|
我认为也是这种问题
|
SUNWI15cs 大小写错误,
|
看样子你的pkg.zip没有解压啊
unzip到/var/spool/pkg试试?
unzip到/var/spool/pkg试试?
|
有点乱哦,帮顶一下啊。