Public bug reported:

Binary package hint: update-manager-core

Running an x86_64 feisty install (originally upgraded from edgy) on a
laptop. While installing updates this morning, the upgrade manager
warned me that there it needed to do a distribution upgrade because some
updates couldn't be installed. As there was a linux kernel (I think)
update in there, this wasn't terribly shocking. When I clicked the
Distribution Upgrade, I got this error:

   controler = DistUpgradeControler(view, datadir=data_dir)

  File "/usr/lib/python2.5/site-packages/DistUpgrade/DistUpgradeControler.py", 
line 127, in __init__
    if self.options.mode == "server":

AttributeError: 'NoneType' object has no attribute 'mode'

I then got as many things to install normally as possible (possibly
stupid) and tried again with the same error. I then changed the .py file
to change the "if self.options.mode ==  "server"" line to read:

        if not self.options and self.options != None and
self.options.mode == "server":

and the distribution upgrade could be re-run without errors. (I do not
know python hardly at all, so my changes here are probably not "right").

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
exec error in DistUpgradeControler
https://launchpad.net/bugs/84915

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to