[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-26 Thread Michael Vogt
update-manager (1:0.85.4) hardy; urgency=low * DistUpgrade/DistUpgradeCache.py: - do not use python2.5 try:/expect:/finally: - we need to run on 2.4 as well for dapper->hardy (LP: #164947) -- Michael Vogt <[EMAIL PROTECTED]> Mon, 26 Nov 2007 10:47:57 +0100 ** Changed in: update-ma

[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-26 Thread Michael Vogt
** Changed in: update-manager (Ubuntu) Importance: Undecided => High Assignee: (unassigned) => Michael Vogt (mvo) Status: Confirmed => In Progress -- update-manager fails to compile with python 2.4 on hardy https://bugs.launchpad.net/bugs/164947 You received this bug notification b

[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-26 Thread Scott James Remnant
Also confirmed 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 pkg

[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-25 Thread Rich
A number of people have confirmed this, so I'm changing this to confirmed in the hopes that it will get fixed faster - it's really not okay for the update manager to be broken for too long, though I recognize that people running Hardy are far more likely to know how to use alternatives than the ave

[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-25 Thread Kow
I can confirm the problem. The issue here is python < 2.5 lacking try/except/finally statements. The fix is to embed a try/except within the try/finally (as done above.) Yay for python. :-/ -- update-manager fails to compile with python 2.4 on hardy https://bugs.launchpad.net/bugs/164947 You rece

[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-25 Thread nomux
python expects: try: code finally: code OR try: code except ErrorType: code to get update-manager working do this: mkdir tmp cd tmp (speicher das attachment update-manager.patch in dieses verzeichnis) apt-get source update-manager dpkg-source -x update-manager_0.85.3

[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-25 Thread marktechey
Never mind, I figure it out. Here is what mine looks like now, from line 414 to line 456 try: try: # upgrade (and make sure this way that the cache is ok) self.upgrade(True) # check that everythink in priority required is installed

[Bug 164947] Re: update-manager fails to compile with python 2.4 on hardy

2007-11-25 Thread marktechey
HI, Thanks, could you show me or tell me in more detail what you have to change? Thanks -- 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