Update-manager does not try mirrors for dist-upgrader

Bug #107983 reported by Andrew McCarthy
4
Affects Status Importance Assigned to Milestone
update-manager (Ubuntu)
Fix Released
Medium
Michael Vogt

Bug Description

Binary package hint: update-manager

When upgrading to a new release (in this case, Edgy to Feisty), the update manager retrieves the dist-upgrade tool from archive.ubuntu.com, even though the local mirror (xx.archive.ubuntu.com) may also have the tool available. The URL used appears to be taken from the meta-release file. I suggest that the update-manager attempt to identify and use a local mirror, and fall back to the original source if it fails.

Michael Vogt (mvo)
Changed in update-manager:
importance: Undecided → Medium
status: Unconfirmed → Confirmed
Revision history for this message
Andrew McCarthy (andrewmccarthy) wrote :

I was thinking again about this. Would it make sense to simply package up dist-upgrader and retrieve it as a normal package? No special-case handling would then be necessary. This would also help in the case where an upgrade aborts and has to be restarted; currently that requires re-downloading dist-upgrader.

Michael Vogt (mvo)
Changed in update-manager:
assignee: nobody → mvo
Michael Vogt (mvo)
Changed in update-manager:
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package update-manager - 1:0.97

---------------
update-manager (1:0.97) jaunty; urgency=low

  * UpdateManager/Core/MetaRelease.py:
    - remove debug message (LP: #310046)
  * UpdateManager/Common/utils.py:
    - when initializing the proxy configuration, do in this
      order:
      * check apt setting
      * check synaptic setting
      * check users gconf
      * check http_proxy environment
    (LP: #24250)
  * UpdateManager/Core/DistUpgradeFetcherCore.py:
    - ensure correct error message if downloading failed
      (LP: #113658)
    - when fetching from mirrors, add fallback if the mirror
      is too loaded to cope
    - improve logic that detects what mirror is in use by
      sources.list inspection (LP: #107983)
  * DistUpgrade/DistUpgradeMain.py, dist-upgrade.py:
    - re-factor and make code more modular
    - do not overwrite existing log files on upgrade
      (LP: #111819)
  * reorganize the imports and get rid of "Common" submodule
    and merge that all into "Core"
  * improve the debug output via the "DEBUG_UPDATE_MANAGER"
    environment

 -- Michael Vogt <email address hidden> Mon, 26 Jan 2009 17:26:40 +0100

Changed in update-manager:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.