[OpenIndiana-discuss] pkg error

James Relph james at themacplace.co.uk
Thu Mar 28 17:17:05 UTC 2013


Thanks, I actually thought that with it being that close to install (and not having been used) it was probably safer to wipe and reinstall (it made me wonder what else was missing).

Probably safer in the long run!

James

Principal Consultant

Website:		www.themacplace.co.uk

On 27 Mar 2013, at 18:36, Alexander Eremin <alexander.r.eremin at gmail.com> wrote:

> 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