Bernd Schemmer wrote:
> Hi
> 
> I'm trying to install additional packages to OpenSolaris 11.2008 but it does 
> not work:
> 
> root at t61p:~# pkg install FSWxorg-headers
> Refreshing Catalog 2/2 OpenSolarisContributedTraceback (most recent call 
> last):
>   File "/usr/bin/pkg", line 2228, in ?
>     __ret = main_func()
>   File "/usr/bin/pkg", line 2177, in main_func
>     return install(mydir, pargs)
>   File "/usr/bin/pkg", line 715, in install
>     update_index=update_index)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 137, in 
> plan_install
>     self.img.retrieve_catalogs(
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1398, 
> in retrieve_catalogs
>     self._do_get_catalog(auth, hdr, ts)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/image.py", line 1351, 
> in _do_get_catalog
>     hdr, ts)
>   File "/usr/lib/python2.4/vendor-packages/pkg/client/retrieve.py", line 126, 
> in get_catalog
>     updatelog.recv(c, croot, ts, auth)
>   File "/usr/lib/python2.4/vendor-packages/pkg/updatelog.py", line 245, in 
> recv
>     catalog.recv(c, path, auth, cl_size)
>   File "/usr/lib/python2.4/vendor-packages/pkg/catalog.py", line 537, in recv
>     if not s[1].isspace():
> IndexError: string index out of range
> 
> 
> 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 '666742d60b75'.
> 
> Very cool -- I really like this new packaging system ... It's an important 
> step to windows compatibilty (means nothing works at all but it does have a 
> nice graphical GUI ) :-(((

Bernd,

You're using a fairly old version of the package system from November of 
last year.

Also, from the error, it looks like the catalog you received from a 
package server is corrupt.  By chance, are you trying to retrieve a 
catalog from the jucr repositories?  If you are, they've been having 
problems lately.

What's the output of "pkg authority" ?

-- 
Shawn Walker

Reply via email to