[OpenIndiana-discuss] pkgrepo error
Serge Fonville
serge.fonville at gmail.com
Sun Mar 17 14:11:01 UTC 2013
Hi,
I have been running an IPS Server for a while now, without serious issues
Since some time I am getting errors when using it.
When I run *pkgrepo refresh -s /export/repo/ *I get a stack trace
> Initiating repository refresh.
> 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 984, in subcmd_refresh
> do_refresh(xport, xpub)
> File "/usr/bin/pkgrepo", line 969, in do_refresh
> xport.publish_refresh(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 2568, in publish_refresh
> d.publish_refresh(header=header, pub=pub)
> File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py",
> line 1584, in publish_refresh
> refresh_index=True)
> File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line
> 2703, in add_content
> rstore.add_content(refresh_index=refresh_index)
> File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line
> 1067, in add_content
> build_index=refresh_index, incremental=True)
> 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 35e1caa63de2. Please
> log a
> Service Request about this issue including the information above and this
> message.
When I run pkg search I get an error
> pkg: Some repositories failed to respond appropriately:
> sergefonville.nl:
> http protocol error: code: 503 reason: Service Unavailable
> URL: '
> http://192.168.1.11/sergefonville.nl/search/1/False_2_None_None_%3A%3A%3Aphp
> '.
What do I need to do to fix this?
Thanks in advance.
Kind regards/met vriendelijke groet,
Serge Fonville
http://www.sergefonville.nl
Convince Microsoft!
They need to add TRUNCATE PARTITION in SQL Server
https://connect.microsoft.com/SQLServer/feedback/details/417926/truncate-partition-of-partitioned-table
More information about the OpenIndiana-discuss
mailing list