Skip to main content

[pkg-discuss] Re: error during pkgrepo rebuild

  • From: Joe Higgins < >
  • To:
  • Subject: [pkg-discuss] Re: error during pkgrepo rebuild
  • Date: Mon, 07 Oct 2013 11:12:10 -0400

Could it be caused by having trying a rebuild of a 11.2 repo on the following ?
#pkg list 'entire'
NAME (PUBLISHER) VERSION                    IFO
entire 0.5.11-0.175.0.13.0.4.0    i--

thx in advance,

Joe

On 10/05/2013 12:23 AM, Joe Higgins wrote:
I am seeing the following in a pkgrepo rebuild.


I grabbed the iso from
http://nana.us.oracle.com/products/Solaris_11/s11.2/21/sol-11_2-21-repo-full.iso.gz

mounted it and used rsync to copy it to a repo -- Then I executed the following.

pkgrepo rebuild -s .
Initiating repository rebuild.
Traceback (most recent call last):
  File "/usr/bin/pkgrepo", line 1226, in handle_errors
    __ret = func(*args, **kwargs)
  File "/usr/bin/pkgrepo", line 1202, in main_func
    return func(conf, pargs)
  File "/usr/bin/pkgrepo", line 928, in subcmd_rebuild
    do_rebuild(xport, xpub)
  File "/usr/bin/pkgrepo", line 913, in do_rebuild
    xport.publish_rebuild(xpub)
File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 432, in wrapper
    return f(instance, *fargs, **f_kwargs)
File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 2503, in publish_rebuild
    d.publish_rebuild(header=header, pub=pub)
File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", line 1570, in publish_rebuild
    build_catalog=True, build_index=True)
File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 2730, in rebuild
    build_index=build_index)
File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 1631, in rebuild
    build_index=build_index)
File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 676, in __rebuild
    self.__refresh_index()
File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 695, in __refresh_index
    return self.__run_update_index()
File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 1655, in __run_update_index
    self.__update_searchdb_unlocked(fmris_to_index)
File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 1011, in __update_searchdb_unlocked
    index_inst.server_update_index(fmris)
File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 774, in server_update_index
    tmp_index_dir)
File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 726, in _generic_update_index
    self._update_index(dicts, tmp_index_dir)
File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 601, in _update_index
    assert len(next_new_tok) > 0
AssertionError


pkgrepo: This is an internal error in pkg(5) version d669d9e58455. Please log a
Service Request about this issue including the information above and this
message.




[pkg-discuss] error during pkgrepo rebuild

Joe Higgins 10/05/2013

[pkg-discuss] Re: error during pkgrepo rebuild

Joe Higgins 10/07/2013

[pkg-discuss] Re: error during pkgrepo rebuild

Danek Duvall 10/07/2013
 
 
Close
loading
Please Confirm
Close