Steven Lau wrote:
Hmm ... I saw this ... is it bug.
-S
r...@opensolaris:~# pkg set-authority -O http://b28b:8888 test
Traceback (most recent call last):
File "/usr/bin/pkg", line 2259, in ?
__ret = main_func()
File "/usr/bin/pkg", line 2226, in main_func
return authority_set(img, pargs)
File "/usr/bin/pkg", line 1579, in authority_set
disabled=disable)
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line
751, in set_authority
self.save_config()
File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line
308, in save_config
self.cfg_cache.write(self.imgdir)
File "/usr/lib/python2.4/vendor-packages/pkg/client/imageconfig.py",
line 243, in write
f = open(thefile, "w")
IOError: [Errno 30] Read-only file system: '/var/pkg/cfg_cache'
pkg: This is an internal error. Please let the developers know about this
problem by filing a bug at http://defect.opensolaris.org and including the
above traceback and this message. The version of pkg(5) is '048096a95369'.
r...@opensolaris:~#
The traceback is, but it is curious as to why you're seeing that error.
Are you trying to set the authority while booted from the LiveCD? If
so, I don't believe you can do that.
You should file a bug for the traceback.
Cheers,
--
Shawn Walker
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss