python-tz issue with 9.04, 9.10

david todd delicasso at gmail.com
Tue Aug 10 15:50:38 UTC 2010


Thanks Marius!

See details below...

> Date: Tue, 10 Aug 2010 15:57:16 +0300
> From: Marius Gedminas <marius at pov.lt>
> Subject: Re: python-tz issue with 9.04, 9.10

>> E: python-tz: subprocess post-installation script returned error exit
status
>> 1

> It looks pretty similar to
> https://bugs.launchpad.net/ubuntu/+source/python-tz/+bug/320059<https://bugs.launchpad.net/ubuntu/+source/python-tz/+bug/320059>

>>   dpkg: /usr/lib/python2.5/site-packages/pytz/__init__.py not found.
>>  dpkg: /usr/lib/python2.5/site-packages/pytz/reference.py not found.
>>  dpkg: /usr/lib/python2.5/site-packages/pytz/tzfile.py not found.
>>  dpkg: /usr/lib/python2.5/site-packages/pytz/tzinfo.py not found.

> I wonder what that means.  Could you or anyone else have ever run
> 'sudo easy_install pytz' on this machine?  That would explain the error.

>> dpkg: error processing python-tz (--configure):
>>  subprocess post-installation script returned error exit status 1
>> Setting up python-wxglade (0.6.3-0.1ubuntu3) ...
>> Errors were encountered while processing:
>>  python-tz
>> I tried to reinstall python-tz but that did not work, as it ran into the
>> same error.

> You may want to try
> sudo apt-get remove python-tz
> sudo apt-get install python-tz
> one user claims (in the bug report I linked above) that this worked for
> them.
> - Marius Gedminas

Removing and re-installing did the trick.
My install's of other packages now works great!

fyi - Regarding the 'sudo easy_install pytz', I don't recall ever running
that on this machine and I'm the only user.

Best Regards, David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20100810/60eaf199/attachment.html>


More information about the ubuntu-users mailing list