Confirm.

I use jaunty since alpha, and between beta and rc I've clashed with this
bug.

> update-manager --version
update-manager: version 0.111.8
> sudo update-manager -d --dist-upgrade
ERROR:root:not handled expection:
Traceback (most recent call last):

  File "/usr/bin/update-manager", line 100, in <module>
    controler.doPartialUpgrade()

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", 
line 1595, in doPartialUpgrade
    if not self.doDistUpgrade():

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeController.py", 
line 972, in doDistUpgrade
    self.quirks.run("StartUpgrade")

  File "/usr/lib/python2.6/dist-packages/DistUpgrade/DistUpgradeQuirks.py", 
line 77, in run
    for plugin in self.plugin_manager.get_plugins(condition):

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 167, 
in get_plugins
    filenames = self.get_plugin_files()

  File "/usr/lib/python2.6/dist-packages/computerjanitor/plugin.py", line 120, 
in get_plugin_files
    basenames = [x for x in os.listdir(dirname)

OSError: [Errno 2] No such file or directory: './plugins'

ERROR:root:failed to import apport python module, can't report bug: No
module named python_hook

after (in home directory)
> sudo mkdir ./plugins
update works well, but, I think, it's a very strange and not obvious workaround 
to solve this issue.

BTW, in my case creating "plugins" dirs in /usr/lib/python2.6/dist-
packages/DistUpgrade/ and in /usr/lib/python2.6/dist-
packages/computerjanitor/ were not enougth to make it works.

-- 
update manager partial upgrade fails
https://bugs.launchpad.net/bugs/335416
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to