给HPUNIX 11.23打补丁时碰到一个错误,急!-----已经解决
本帖最后由 joline 于 2010-04-21 13:16 编辑
我是新手,做了个HPUNIX 11.23做实验,机器是RX2600.我想把补丁升级到最新版本,结果报错了。好像说是权限不够什么的。请高手帮忙分析一下。
报错信息如下:
1、解压缩:
# ls
hpux__11.23_04200128.tar
# tar xvf hp*
x patch_manifest, 448 bytes, 1 tape blocks
x README_hp-ux, 1779 bytes, 4 tape blocks
x create_depot_hpux.11.23, 5761 bytes, 12 tape blocks
x PHCO_40214, 2046431 bytes, 3997 tape blocks
x PHKL_40283, 9931088 bytes, 19397 tape blocks
x PHKL_40487, 2087132 bytes, 4077 tape blocks
x FEATURE11i_B.11.23.0909.080.depot, 164597760 bytes, 321480 tape blocks
x HWEnable11i_B.11.23.0712.070.depot, 142469120 bytes, 278260 tape blocks
x QPK1123_B.11.23.0912.082.depot, 1724293120 bytes, 3367760 tape blocks
2、创建DEPOT
# ls -la
total 7990128
drwxr-xr-x 2 root sys 8192 Apr 20 22:41 .
drwxr-xr-x 17 root root 8192 Apr 20 21:05 ..
-rw-r--r-- 1 21164 12753 164597760 Nov 30 19:17 FEATURE11i_B.11.23.0909.080.depot
-rw-r--r-- 1 21164 12753 142469120 Nov 29 2007 HWEnable11i_B.11.23.0712.070.depot
-rw-r--r-- 1 21164 12753 2046431 Sep 23 2009 PHCO_40214
-rw-r--r-- 1 21164 12753 9931088 Apr 1 11:10 PHKL_40283
-rw-r--r-- 1 21164 12753 2087132 Jan 5 18:11 PHKL_40487
-rw-r--r-- 1 21164 12753 1724293120 Nov 30 19:16 QPK1123_B.11.23.0912.082.depot
-rw-r--r-- 1 21164 12753 1779 Feb 16 08:11 README_hp-ux
-rwxr-xr-x 1 21164 12753 5761 Apr 20 07:27 create_depot_hpux.11.23
-rw-r--r-- 1 root sys 2045439488 Apr 20 21:15 hpux__11.23_04200128.tar
-rw-r--r-- 1 21164 12753 448 Apr 20 07:27 patch_manifest
# chmod +x PHCO_40214
# ./PHCO_40214
x - PHCO_40214.text
x - PHCO_40214.depot [non-ascii]
# ls
FEATURE11i_B.11.23.0909.080.depot PHKL_40487
HWEnable11i_B.11.23.0712.070.depot QPK1123_B.11.23.0912.082.depot
PHCO_40214 README_hp-ux
PHCO_40214.depot create_depot_hpux.11.23
PHCO_40214.text hpux__11.23_04200128.tar
3、开始安装
# swinstall -x autoreboot=true -x patch_match_target=true -s /test/PHCO_40214.depot
======= 04/20/10 22:45:51 MDT BEGIN swinstall SESSION
(non-interactive) (jobid=test-0020)
* Session started for user "root@test".
* Beginning Selection
* Target connection succeeded for "test:/".
ERROR: "test:/test/PHCO_40214.depot": You do not have permission for
this operation. The depot owner, system administrator, or
alternate root owner may need to use the "swreg" or "swacl"
command to give you permission. Or, to manage applications
designed and packaged for nonprivileged mode, see the
"run_as_superuser" option in the "sd" man page.
* Source connection failed for "test:/test/PHCO_40214.depot".
WARNING: More information may be found in the daemon logfile on this
target (default location is test:/var/adm/sw/swagentd.log).
* Selection had errors.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
hp-ux有时候报的错误会把人带到沟里
回复 1# joline
已经解决了,在坛子里找到了办法,谢谢这位大大!
http://bbs.chinaunix.net/viewthread.php?tid=1272615