Public bug reported:

I tried upgrading my 10.04 installation to 12.04 today using the upgrade
manager. This failed apparently due to the same issue as described and
marked invalid in bug 990740 - I would add this to that bug, but that is
specifically recommended against and I can find no valid bug that is
related to it. Note that this upgrade did not use apt-get dist-upgrade
but the update manager.

In following this up, I found a number of people had had success forcing
removal of python 2.6 and then forcing install of 2.7 followed by a apt-
get install -f. This did not work for me as installing python 2.7 failed
with the following error:

SyntaxError: ('cannot assign to __debug__', ('/usr/lib/python2.7/dist-
packages/ViewerFramework/VF.py', 263, None, 'self.__debug__ = 0\n'))

dpkg: error processing python (--install):
 subprocess installed post-installation script returned error exit status 101
Errors were encountered while processing:
 python

This error led me to a debian bug, 590821 which had a post by Barry
Warsaw saying that ubuntu had fixed this issue by deletion of the
offending lines in VF.py. Looking at the installed file at the time
these lines are present; the assignment is commented out in the precise
version.

This bug results in python failing to install, which has a knock on
effect of breaking the upgrade. Given the brittleness of python in this
kind of situation, I suspect that this kind of error (there may be a
family of them) is what is causing 990740. Pity python has no tolerance
of upgrades, given its central position in the distribution upgrade
system.

The affected system was 10.04. I am hoping that by tomorrow it will be a
12.04 system - in less competent hands it would have to have been hosed.

** Affects: mgltools-viewerframework (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1053326

Title:
  apparent regression of 685476

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mgltools-viewerframework/+bug/1053326/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to