免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4073 | 回复: 5
打印 上一主题 下一主题

诚恳的请求帮助: pkgadd pkgadd -d . SUNWTOO 时出错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2007-07-06 13:26 |只看该作者 |倒序浏览
-bash-3.00# ls\r\nSUNWarc SUNWTOO \r\n-bash-3.00# pkgadd -d . SUNWTOO \r\npkgadd: ERROR: no package associated with <SUNWTOO>\r\n\r\n我的系统之前是最小安装, 后来想安装 SUNWTOO ,我从光盘上copy 了该包到系统上,然后执行 pkgadd -d 就出现上面的错误.\r\n\r\n我同样的方式, pkgadd -d . SUNWarc 就没有问题,不知道为甚么会这样, 谢谢回答.\r\n我的系统: \r\n-bash-3.00# uname -a\r\nSunOS web 5.10 Generic_118855-33 i86pc i386 i86pc

论坛徽章:
0
2 [报告]
发表于 2007-07-06 13:29 |只看该作者
pkgadd -d . 后面不要加pkgname试试, 自动会吧可能的 pkg都列出来供你选择

论坛徽章:
0
3 [报告]
发表于 2007-07-06 15:19 |只看该作者
你的方法我也是试过的,不成 \r\n\r\n\r\n不过, 问题已经搞定了,我在 这个论坛上也搜到别人问了同样的问题.\r\n\r\n把光盘直接插到机器上mount ,然后pkgadd 就可以了 \r\n\r\ncastle# pkgadd\r\npkgadd: ERROR: no packages were found in </var/spool/pkg>\r\ncastle#\r\n\r\nTo install packages directly from media, such as from a CD-ROM, you must use the -d option to specify a full (absolute) pathname to the directory on the device that contains the packages that you want to install.\r\n\r\nIf pkgadd encounters a problem, information about the problem appears along with the prompt Do you want to continue with this installation of the package?. Type yes, no, or quit and press Return.Typing yes continues with the installation. If you have specified more than one package, typing no stops the installation of the package that failed, but does not stop the installation of the other packages. Typing quit stops installation of all packages.\r\n\r\nIn the following example, although the command-line argument specifies a valid directory on the CD-ROM, that directory contains no packages and the pkgadd command returns an error message:

论坛徽章:
1
荣誉会员
日期:2011-11-23 16:44:17
4 [报告]
发表于 2007-07-06 15:38 |只看该作者
-d后面的“.”是当前目录。可能是没把指定的pkg复制到当前目录下。\r\n如不用-d,那么包应该复制到/var/spool/pkg下。

论坛徽章:
0
5 [报告]
发表于 2007-07-06 16:29 |只看该作者
如果SUNWTOO 在当前目录\r\npkgadd -d SUNWTOO

论坛徽章:
0
6 [报告]
发表于 2007-07-06 18:10 |只看该作者
pkgadd: ERROR: no package associated with <SUNWTOO>\r\n包的指定方法不对.
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP