Thank you Luther
----- Original Message -----
From: "Rich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 24, 2007 8:35 PM
Subject: [Bug 164947] update-manager fails to compile with python 2.4 on
hardy
Public bug reported:
Binary package hint: update-manager
I received the following error on attempting to upgrade to update-manager
1:0.85.3:
Errors were encountered while processing:
update-manager
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up update-manager (1:0.85.3) ...
Compiling /usr/lib/python2.4/site-packages/DistUpgrade/DistUpgradeCache.py
...
File "/usr/lib/python2.4/site-packages/DistUpgrade/DistUpgradeCache.py",
line 452
finally:
^
SyntaxError: invalid syntax
pycentral: pycentral pkginstall: error byte-compiling files (32)
pycentral pkginstall: error byte-compiling files (32)
dpkg: error processing update-manager (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
update-manager
The issue is that, in Python 2.4, you don't get try-except-finally - you
get try(try-except)-finally, but that's not what's in this file.
Changing the try-except-finally block to be a try-finally block with the
try-except as its contents (starting at line 414, ending at line 451)
fixes this problem.
** Affects: update-manager (Ubuntu)
Importance: Undecided
Status: New
--
update-manager fails to compile with python 2.4 on hardy
https://bugs.launchpad.net/bugs/164947
You received this bug notification because you are a bug contact for
update-manager in ubuntu.
--
update-manager fails to compile with python 2.4 on hardy
https://bugs.launchpad.net/bugs/164947
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs