[OpenIndiana-discuss] pkg error

Alexander Eremin alexander.r.eremin at gmail.com
Wed Mar 27 18:36:56 UTC 2013


Sometimes this is due bad *.pyc somewhere. You can try to delete them in vendor-packages/pkg
directory before.

Alexander

On 27.03.2013, at 20:58, James Relph <james at themacplace.co.uk> wrote:

> Hi all,
> 
> Has anyone seen the below error with pkg before?  This is with a brand new install of 151a7, in the global zone:
> 
> Traceback (most recent call last):
>  File "/usr/bin/pkg", line 45, in <module>
>    import pkg.client.api as api
>  File "/usr/lib/python2.6/vendor-packages/pkg/client/api.py", line 34, in <module>
>    import pkg.client.image as image
>  File "/usr/lib/python2.6/vendor-packages/pkg/client/image.py", line 39, in <module>
>    import pkg.client.transport.transport   as transport
>  File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/transport.py", line 23, in <module>
>    import pkg.client.transport.repo as trepo
>  File "/usr/lib/python2.6/vendor-packages/pkg/client/transport/repo.py", line 22, in <module>
>    import pkg.server.repository as svr_repo
>  File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line 34, in <module>
>    import pkg.query_parser as qp
>  File "/usr/lib/python2.6/vendor-packages/pkg/query_parser.py", line 14, in <module>
>    import cgi
> ValueError: bad marshal data
> 
> 
> Thanks,
> 
> James
> Website:        www.themacplace.co.uk
> _______________________________________________
> OpenIndiana-discuss mailing list
> OpenIndiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the OpenIndiana-discuss mailing list