using a local mirror and an official mirror of -backports does not work

Bug #1067393 reported by Brian Murray
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Fix Released
Medium
Brian Murray

Bug Description

In the event that you use a local mirror but do not mirror -backports you will end up in a situation where you are not able to perform a distribution upgrade.

An example sources.list:

deb http://192.168.1.1/ubuntu feisty main restricted
deb http://192.168.1.1/ubuntu feisty-updates main restricted
deb http://security.ubuntu.com/ubuntu/ feisty-security main restricted
deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse

What will happen is that the first two lines will be commented out by ubuntu-release-upgrader and it will check -backports for ubuntu-minimal and will not find it and the upgrade will exit. You will be presented with an error message that says:

'This may be because you have no official mirrors listed in your software sources, or because of excessive load on the mirror you are using.'

However, if things were working properly you should instead see:

"No valid mirror found … Do you want to rewrite your 'sources.list' file anyway?"

Tags: patch quantal
tags: added: quantal
Changed in ubuntu-release-upgrader (Ubuntu):
status: New → In Progress
assignee: nobody → Brian Murray (brian-murray)
Revision history for this message
Brian Murray (brian-murray) wrote :

This patch takes care of it and adds a test.

tags: added: patch
Changed in ubuntu-release-upgrader (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-release-upgrader - 1:0.191.1

---------------
ubuntu-release-upgrader (1:0.191.1) raring; urgency=low

  [ Michael Vogt ]
  * update all string for quantal->raring upgrade

  [ Brian Murray ]
  * rewrite sources if using a local mirror without backports (LP: #1067393)
 -- Michael Vogt <email address hidden> Mon, 05 Nov 2012 09:44:11 +0100

Changed in ubuntu-release-upgrader (Ubuntu):
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.