[Bug 1511783] Re: release upgrader can create a too minimal sources.list

Brian Murray brian at ubuntu.com
Fri Oct 30 18:05:04 UTC 2015


>From what I can tell so far it seems to be an issue with
rewriteSourcesList in DistUpgradeController and this part of it.

542                     logging.debug("BaseMetaPkg '%s' has no candidate.origins" % pkgname)
 543                     try:
 544                         distro = get_distro()
 545                         distro.get_sources(self.sources)
 546                         distro.enable_component("main")

get_distro is from python3-apt and I got as far as figuring out that
get_sources ended up creating an empty comps list.

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

Title:
  release upgrader can create a too minimal sources.list

Status in ubuntu-release-upgrader package in Ubuntu:
  Triaged

Bug description:
  In the event that the mirror in your /etc/apt/sources.list file is no
  longer an official mirror of Ubuntu, the release upgrade process will
  create a new sources.list file for you with only main enabled for the
  release to which you are upgrading. This will create a poor upgrade
  experience. This will need to be fixed before or with the fix for bug
  1463680.

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



More information about the foundations-bugs mailing list