the last error is:

Linking and byte-compiling packages for runtime python2.5...
/usr/share/python/runtime.d/pycentral.rtinstall: 1: Syntax error: "|" 
unexpected (expecting ")")
dpkg: error processing python2.5-minimal (--configure):
 subprocess installed post-installation script returned error exit status 2

but not the first error:

Preparing to replace gimp 2.6.7-1ubuntu1 (using 
.../gimp_2.6.7-1ubuntu1.1_i386.deb) ...
Traceback (most recent call last):
  File "/usr/sbin/update-python-modules", line 16, in <module>
    import pysupport
  File "/usr/share/python-support/private/pysupport.py", line 1
SyntaxError: Non-ASCII character '\xb6' in file 
/usr/share/python-support/private/pysupport.py on line 1, but no encoding 
declared; see http://www.python.org/peps/pep-0263.html for details
dpkg: warning: old pre-removal script returned error exit status 1
dpkg - trying script from the new package instead ...

something seems to be very wrong with the installation.

please try to autoremove python2.5-minimal:

  sudo apt-get autoremove python2.5-minimal


** Changed in: python2.5 (Ubuntu)
       Status: New => Incomplete

-- 
package python2.5-minimal 2.5.4-1ubuntu6.1 failed to install/upgrade: 
subprocess installed post-installation script returned error exit status 2
https://bugs.launchpad.net/bugs/548536
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to