Bruce Rothermal wrote:
> I get
> 
> brucer at vm-os:~$ pfexec pkg refresh
> Traceback (most recent call last):
>  File "/usr/bin/pkg", line 2228, in ?
>    __ret = main_func()
>  File "/usr/bin/pkg", line 2171, in main_func
>    return catalog_refresh(mydir, pargs)
>  File "/usr/bin/pkg", line 1494, in catalog_refresh
>    api_inst.refresh(full_refresh, pargs)
>  File "/usr/lib/python2.4/vendor-packages/pkg/client/api.py", line 574, 
> in refresh
>    auths_to_refresh)
>  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 243, 
> in recv
>    UpdateLog._recv_updates(c, path, ts, cl_size)
>  File "/usr/lib/python2.4/vendor-packages/pkg/updatelog.py", line 337, 
> in _recv_updates
>    raise UpdateLogException, \
> UpdateLogException: Package V pkg nexuiz 25,5.11-0.101:20090407T150615Z
> is already in the catalog
> 
> 
> 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'.
> brucer at vm-os:~$

Something is horribly wrong with the repository's catalog / updatelog.

As such, your only option for the moment will be to try:

pfexec pkg refresh --full pending

or:

pfexec pkg set-publisher -O http://jucr.opensolaris.org/pending pending

(assuming pending is the publisher name you have for the pending 
repository's publisher)

Cheers,
-- 
Shawn Walker

Reply via email to