- 论坛徽章:
- 0
|
本帖最后由 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. |
|