exec error in DistUpgradeControler
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-manager (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
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 = DistUpgradeCont
File "/usr/lib/
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").
Changed in update-manager: | |
status: | Fix Committed → Fix Released |
Thanks for your bugreport.
This is fixed in my local tree and will be part of the next upload.