免费注册 查看新帖 |

Chinaunix

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

solaris11 创建本地IPS报错 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2013-11-21 16:11 |只看该作者 |倒序浏览
solaris11发布本地的IPS
# lofiadm -a /export/home/sol-11_1-repo-full.iso

#mount –F hsfs /dev/lofi/1 /reposource

#rsync -aP /reposource /export/repoSolaris11

#pkgrepo -s /export/repoSolaris11 refresh
pkgrepo: file protocol error: code: 22 reason: The path '/export/repoSolaris11' does not contain a valid package repository.
Repository URL: 'file:///export/repoSolaris11'.

为什么会报这个错,有什么问题,怎么解决 谢谢大家啊

论坛徽章:
1
射手座
日期:2014-03-17 10:50:20
2 [报告]
发表于 2013-11-21 17:24 |只看该作者
为啥不仔细点,你看看路径对不对

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
3 [报告]
发表于 2013-11-21 17:50 |只看该作者
回复 1# anthonypaopao


   路径使用 file:///path

论坛徽章:
2
双鱼座
日期:2014-02-23 12:10:03操作系统版块每日发帖之星
日期:2015-12-17 06:20:00
4 [报告]
发表于 2013-11-21 18:00 |只看该作者
Repository URL: 'file:///export/repoSolaris11'.

论坛徽章:
0
5 [报告]
发表于 2013-11-22 01:52 |只看该作者
/export/repoSolaris11/repo

论坛徽章:
0
6 [报告]
发表于 2013-11-22 12:45 |只看该作者
# pkgrepo -s file:///export/repoSolaris11 refresh
pkgrepo: file protocol error: code: 22 reason: The path '/export/repoSolaris11' does not contain a valid package repository.
Repository URL: 'file:///export/repoSolaris11'.
# pkgrepo -s  'file:///export/repoSolaris11' refresh
pkgrepo: file protocol error: code: 22 reason: The path '/export/repoSolaris11' does not contain a valid package repository.
Repository URL: 'file:///export/repoSolaris11'.
回复 4# 东方蜘蛛


   

论坛徽章:
1
2015年辞旧岁徽章
日期:2015-03-03 16:54:15
7 [报告]
发表于 2013-11-22 13:11 |只看该作者
回复 6# anthonypaopao


    pkgrepo refresh -s file:///export/repoSolaris11/repo
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP