do-release-upgrade depends on update-manager

Bug #145116 reported by hads on 2007-09-26
Affects Status Importance Assigned to Milestone
update-manager-core (Ubuntu)
Michael Vogt

Bug Description

Binary package hint: update-manager-core

On Gutsy current as of today.

root@smokey:~# dpkg -l | grep update-man
ii update-manager-core 1:0.78 manage release upgrades

With update-manager-core installed and not update-manager do-release-upgrade fails with;

root@smokey:~# do-release-upgrade
Traceback (most recent call last):
  File "/usr/bin/do-release-upgrade", line 8, in <module>
    from UpdateManager.Core.DistUpgradeFetcherCore import DistUpgradeFetcherCore
  File "/usr/lib/python2.5/site-packages/UpdateManager/Core/", line 39, in <module>
    from UpdateManager.Common.utils import country_mirror
ImportError: No module named Common.utils

Lines 36-39 of are;

    from utils import country_mirror
except ImportError:
    from UpdateManager.Common.utils import country_mirror

UpdateManager.Common is provided by update-manager but update-manager-core doesn't depend on update-manager.



Michael Vogt (mvo) wrote :

Thanks for your bugreport.

This should be fixed in my local tree and will be part of the next upload (after the beta release).

Changed in update-manager-core:
importance: Undecided → High
status: New → Fix Committed
Michael Vogt (mvo) wrote :

Fixed with the 0.79 upload.

Changed in update-manager-core:
assignee: nobody → mvo
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers