Chinaunix

标题: solaris11 创建本地IPS报错 [打印本页]

作者: anthonypaopao    时间: 2013-11-21 16:11
标题: solaris11 创建本地IPS报错
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'.

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

作者: wang_sy    时间: 2013-11-21 17:24
为啥不仔细点,你看看路径对不对
作者: DC_楚楚    时间: 2013-11-21 17:50
回复 1# anthonypaopao


   路径使用 file:///path
作者: 东方蜘蛛    时间: 2013-11-21 18:00
Repository URL: 'file:///export/repoSolaris11'.
作者: icyfish28    时间: 2013-11-22 01:52
/export/repoSolaris11/repo
作者: anthonypaopao    时间: 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# 东方蜘蛛


   
作者: DC_楚楚    时间: 2013-11-22 13:11
回复 6# anthonypaopao


    pkgrepo refresh -s file:///export/repoSolaris11/repo




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2