Infinity loop while searching of ports.ubuntu.com's mirrors for countries, except "GB"

Bug #176672 reported by sashz
2
Affects Status Importance Assigned to Milestone
choose-mirror (Ubuntu)
Fix Released
Medium
Colin Watson
Hardy
Fix Released
Medium
Colin Watson

Bug Description

Binary package hint: ubiquity

Hardware PS3 (powerpc) was tested and the bug was found. The bug is common for all archs which use repositories from ports.ubuntu.com.
Ubiquity goes into infinity loop while searching of ports.ubuntu.com's mirrors for countries except "GB". The choose-mirror component returns NULL for "GET mirror/http/hostname" request, ubiquity shows the error message and tries to search the mirrors again. This problem happens because choose-mirror hasn't information about ports.ubuntu.com mirrors. Mirrors.masterlist.ubuntu has record only for "GB" primary site:

Site: ports.ubuntu.com
Type: Push-Primary
Archive-http: /ubuntu-ports/
Archive-ftp: /ubuntu-ports/
Archive-rsync: ubuntu-ports/
Archive-architecture: hppa ia64 powerpc
Country: GB Great Britain
Location: London

Autogenerated headers include only one record for http and ftp mirrors:
{
        {"ports.ubuntu.com", "GB", "/ubuntu-ports/"},
        {NULL, NULL, NULL}
};

Autogenerated countries lists have only "GB" for http and ftp mirrors.

Choose mirror log:
debconf (developer): <-- CAPB backup
debconf (developer): --> 0 multiselect escape
Dec 15 09:57:26 debconf (filter): <-- VERSION 2
debconf (developer): <-- VERSION 2
debconf (developer): --> 0 2.0
Dec 15 09:57:26 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:26 debconf (filter): <-- SUBST mirror/protocol protocols http, ftp
debconf (developer): <-- SUBST mirror/protocol protocols http, ftp
debconf (developer): --> 0
Dec 15 09:57:26 debconf (filter): <-- INPUT medium mirror/protocol
debconf (developer): <-- METAGET mirror/protocol Type
debconf (developer): --> 0 select
debconf (developer): <-- INPUT medium mirror/protocol
debconf (developer): --> 30 question skipped
Dec 15 09:57:26 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:26 debconf (filter): <-- GET mirror/protocol
debconf (developer): <-- GET mirror/protocol
debconf (developer): --> 0 http
Dec 15 09:57:26 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:26 debconf (filter): <-- GET mirror/country
debconf (developer): <-- GET mirror/country
debconf (developer): --> 0 RU
Dec 15 09:57:26 debconf (filter): <-- INPUT medium mirror/http/countries
debconf (developer): <-- METAGET mirror/http/countries Type
debconf (developer): --> 0 select
debconf (developer): <-- INPUT medium mirror/http/countries
debconf (developer): --> 30 question skipped
Dec 15 09:57:26 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:26 debconf (filter): <-- GET mirror/http/countries
debconf (developer): <-- GET mirror/http/countries
debconf (developer): --> 0 enter information manually
Dec 15 09:57:26 debconf (filter): <-- SET mirror/country enter information manually
debconf (developer): <-- SET mirror/country enter information manually
debconf (developer): --> 0 value set
Dec 15 09:57:26 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:26 debconf (filter): <-- GET mirror/country
debconf (developer): <-- GET mirror/country
debconf (developer): --> 0 enter information manually
Dec 15 09:57:26 debconf (filter): <-- INPUT critical mirror/http/hostname
debconf (developer): <-- METAGET mirror/http/hostname Type
debconf (developer): --> 0 string
debconf (developer): <-- INPUT critical mirror/http/hostname
debconf (developer): --> 30 question skipped
Dec 15 09:57:26 debconf (filter): <-- INPUT critical mirror/http/directory
debconf (developer): <-- METAGET mirror/http/directory Type
debconf (developer): --> 0 string
debconf (developer): <-- INPUT critical mirror/http/directory
debconf (developer): --> 30 question skipped
Dec 15 09:57:26 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:29 debconf (filter): <-- INPUT critical mirror/http/proxy
debconf (developer): <-- METAGET mirror/http/proxy Type
debconf (developer): --> 0 string
debconf (developer): <-- INPUT critical mirror/http/proxy
debconf (developer): --> 30 question skipped
Dec 15 09:57:29 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:29 debconf (filter): <-- GET mirror/http/proxy
debconf (developer): <-- GET mirror/http/proxy
debconf (developer): --> 0
Dec 15 09:57:29 debconf (filter): <-- GO
debconf (developer): <-- GO
debconf (developer): --> 0 ok
Dec 15 09:57:29 debconf (filter): <-- GET mirror/http/hostname
debconf (developer): <-- GET mirror/http/hostname
debconf (developer): --> 0
Dec 15 09:57:29 debconf (filter): <-- GET mirror/http/directory
debconf (developer): <-- GET mirror/http/directory
debconf (developer): --> 0 /ubuntu-ports/
Dec 15 09:57:29 debconf (filter): <-- INPUT critical mirror/bad
debconf (developer): <-- METAGET mirror/bad Type
debconf (developer): --> 0 error
Dec 15 09:57:29 debconf (filter): error widget found for mirror/bad
debconf (developer): <-- METAGET mirror/bad description
debconf (developer): --> 0 Проблема с зеркалом архива Ubuntu
debconf (developer): <-- CAPB
debconf (developer): --> 0 multiselect escape
debconf (developer): <-- CAPB multiselect escape escape
debconf (developer): --> 0 multiselect escape
debconf (developer): <-- METAGET mirror/bad extended_description
debconf (developer): --> 1 Указанное зеркало Ubuntu или недоступно или не содержит правильного файла Release. Попробуйте указать другое зеркало.
debconf (developer): <-- CAPB multiselect escape
debconf (developer): --> 0 multiselect escape

Revision history for this message
Colin Watson (cjwatson) wrote :

Yes. I think there's a strong argument that it should just default to ports.ubuntu.com here, but it's a little bit tricky to fit into the existing logic. Targetting for hardy so I don't forget.

Changed in choose-mirror:
importance: Undecided → Medium
status: New → Confirmed
Colin Watson (cjwatson)
Changed in choose-mirror:
assignee: nobody → kamion
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package choose-mirror - 2.19ubuntu4

---------------
choose-mirror (2.19ubuntu4) hardy; urgency=low

  * Use ports.ubuntu.com for all countries (LP: #176672).

 -- Colin Watson <email address hidden> Tue, 01 Apr 2008 16:39:21 +0100

Changed in choose-mirror:
status: Fix Committed → 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.