[Bug 289952] Re: update-manager rewrites sources.list to only use official mirrors

Nathaniel W. Turner nate at houseofnate.net
Tue Jun 5 13:55:57 UTC 2012


In comment #13 I said that creating /etc/update-manager/release-
upgrades.d/DistUpgrade.cfg allowed me to work around the problem. It
looks like this approach has at least one major problem:

On a system that has a variety of PPAs configured, if I do the
aforementioned "AllowThirdParty = true" hack, these PPA sources all get
rewritten to use precise instead of lucid. If any PPA no longer exists
in Precise, the upgrade fails.

The old behavior was smart enough to rewrite just the sources for the
local mirror, and disable the rest.

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

Title:
  update-manager rewrites sources.list to only use official mirrors

Status in Release Notes for Ubuntu:
  Fix Released
Status in Release Notes for Ubuntu precise series:
  Fix Released
Status in “update-manager” package in Ubuntu:
  Triaged

Bug description:
  Binary package hint: update-manager

  When upgrading from hardy to intrepid, update-manager ignores the
  local sources.list and downloads everything needed from
  archive.ubuntu.org.  This is problematic for multiple reasons.

  1. Some users may have a local or regional mirror that provides faster downloads than archive.  Ignoring sources.list prevents them from using those local mirrors, possibly causing substantial bandwidth costs.2. During the initial release window for intrepid thousands of Ubuntu users are going to upgrade.  Will archive be able to handle the demand?
  3. When upgrading multiple machines in a laboratory or corporate environment, each machine will download all the packages they need from archive, rather than allowing a single download via the use of apt-proxy or other related proxy systems.

  Please re-consider this policy decision.

  WORKAROUND:

  It is possible to disable this check - in DistUpgradeController we
  see:

          # skip mirror check if special environment is set
          # (useful for server admins with internal repos)
          if (self.config.getWithDefault("Sources","AllowThirdParty",False) or 
              "RELEASE_UPRADER_ALLOW_THIRD_PARTY" in os.environ):
              logging.warning("mirror check skipped, *overriden* via config")
              mirror_check=False

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-release-notes/+bug/289952/+subscriptions




More information about the foundations-bugs mailing list