Skip to main content

[pkg-discuss] error during pkgrepo rebuild

  • From: Joe Higgins < >
  • To:
  • Subject: [pkg-discuss] error during pkgrepo rebuild
  • Date: Sat, 05 Oct 2013 00:23:49 -0400

I am seeing the following in a pkgrepo rebuild.

I grabbed the iso from

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
File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/", line 432, in wrapper
    return f(instance, *fargs, **f_kwargs)
File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/", line 2503, in publish_rebuild
    d.publish_rebuild(header=header, pub=pub)
File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/", line 1570, in publish_rebuild
    build_catalog=True, build_index=True)
File "/usr/lib/python2.6/vendor-packages/pkg/server/", line 2730, in rebuild
File "/usr/lib/python2.6/vendor-packages/pkg/server/", line 1631, in rebuild
File "/usr/lib/python2.6/vendor-packages/pkg/server/", line 676, in __rebuild
File "/usr/lib/python2.6/vendor-packages/pkg/server/", line 695, in __refresh_index
    return self.__run_update_index()
File "/usr/lib/python2.6/vendor-packages/pkg/server/", line 1655, in __run_update_index
File "/usr/lib/python2.6/vendor-packages/pkg/server/", line 1011, in __update_searchdb_unlocked
File "/usr/lib/python2.6/vendor-packages/pkg/", line 774, in server_update_index
File "/usr/lib/python2.6/vendor-packages/pkg/", line 726, in _generic_update_index
    self._update_index(dicts, tmp_index_dir)
File "/usr/lib/python2.6/vendor-packages/pkg/", line 601, in _update_index
    assert len(next_new_tok) > 0

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

[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
Please Confirm