Public bug reported: Binary package hint: update-manager
With edgy, I always experienced the problem that update-manager wasn't able to download the changelogs of the packages. Today I finally got myself to look at the problem. I looked at the console output and found this: File "/usr/lib/python2.4/site-packages/UpdateManager/UpdateManager.py", line 162, in get_changelog l = string.split(srcver,":") UnboundLocalError: local variable 'srcver' referenced before assignment I looked at the code and found the mistake in a code block that was supposed to get the source version of the package and compare it to the binary version. All code paths should actually assign some value to srcver because it is used afterwards, but one was forgotten: on line 142, there is: if srcrec: srcver = ... The problem: there is no "else" clause. The code should become if srcrec: srcver = ... else: srcver = binver # the fallback used in the rest of the code After this change, the changelog downloading worked without any problems on my machine. Could this be patched upstream? ** Affects: update-manager (Ubuntu) Importance: Untriaged Status: Unconfirmed -- Error in get_changelog https://launchpad.net/bugs/59940 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs