joh...@johnny-desktop:~$ sudo apt-get autoremove python2.5-minimal [sudo] password for johnny: Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED: adonthell-data python-all python-all-dbg python2.5 python2.5-dbg python2.5-minimal 0 upgraded, 0 newly installed, 6 to remove and 2 not upgraded. 6 not fully installed or removed. After this operation, 47.2MB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 156220 files and directories currently installed.) Removing adonthell-data ... Removing python-all-dbg ... Removing python-all ... Removing python2.5-dbg ... Removing python2.5 ... Removing python2.5-minimal ... Unlinking and removing bytecode for runtime python2.5 /usr/share/python/runtime.d/pycentral.rtremove: 1: �[ks�ȱ��_1U�we&%Ѳd�Tie�qJ^�D���T: not found /usr/share/python/runtime.d/pycentral.rtremove: 2: Syntax error: ")" unexpected /usr/share/python/runtime.d/python-support.rtremove: 1: Syntax error: Unterminated quoted string update-binfmts: warning: /var/lib/binfmts/python2.5 does not exist; nothing to do! Processing triggers for desktop-file-utils ... Processing triggers for man-db ... Processing triggers for libc-bin ... ldconfig deferred processing now taking place joh...@johnny-desktop:~$
On Fri, Mar 26, 2010 at 6:18 AM, Matthias Klose < [email protected]> wrote: > 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 direct subscriber > of the bug. > > Status in “python2.5” package in Ubuntu: Incomplete > > Bug description: > Binary package hint: python2.5 > > ??? > > ProblemType: Package > Architecture: i386 > Date: Thu Mar 25 21:48:30 2010 > DistroRelease: Ubuntu 9.10 > ErrorMessage: subprocess installed post-installation script returned error > exit status 2 > InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5) > NonfreeKernelModules: nvidia > Package: python2.5-minimal 2.5.4-1ubuntu6.1 > ProcVersionSignature: Ubuntu 2.6.31-20.58-generic > SourcePackage: python2.5 > Title: package python2.5-minimal 2.5.4-1ubuntu6.1 failed to > install/upgrade: subprocess installed post-installation script returned > error exit status 2 > Uname: Linux 2.6.31-20-generic i686 > > To unsubscribe from this bug, go to: > https://bugs.launchpad.net/ubuntu/+source/python2.5/+bug/548536/+subscribe > -- 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
