[Bug 898116] [NEW] apt can't deal gracefully with broken mirrors in mirrors.txt

Job Snijders 898116 at bugs.launchpad.net
Wed Nov 30 11:26:26 UTC 2011


Public bug reported:

I use the mirror://mirrors.ubuntu.com/mirrors.txt trick in
/etc/apt/sources.list, which is an excellent feature since I don't know
where boxes will end up. But if mirrors.txt output contains a mirror
which responds to http requests but is no longer a reasonable up2date
mirror such as http://ubuntu.washdc-linux.com/ubuntu/ (seems to be
squatted ATM) apt-get will throw errors such as these:

W: Failed to fetch
mirror://mirrors.ubuntu.com/mirrors.txt/dists/maverick/Release.gpg
Connection failed [Mirror:  http://ubuntu.washdc-linux.com/ubuntu/]

What I would expect 'apt-get update' to do is to select (randomly)
another mirror from mirrors.txt if it receives unworkable output, or
fall back to countrycode.archive.ubuntu.com or something more graceful.

Tested on: Ubuntu 10.10, x86_64, with apt 0.8.3ubuntu7.3

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  apt can't deal gracefully with broken mirrors in mirrors.txt

Status in “apt” package in Ubuntu:
  New

Bug description:
  I use the mirror://mirrors.ubuntu.com/mirrors.txt trick in
  /etc/apt/sources.list, which is an excellent feature since I don't
  know where boxes will end up. But if mirrors.txt output contains a
  mirror which responds to http requests but is no longer a reasonable
  up2date mirror such as http://ubuntu.washdc-linux.com/ubuntu/ (seems
  to be squatted ATM) apt-get will throw errors such as these:

  W: Failed to fetch
  mirror://mirrors.ubuntu.com/mirrors.txt/dists/maverick/Release.gpg
  Connection failed [Mirror:  http://ubuntu.washdc-linux.com/ubuntu/]

  What I would expect 'apt-get update' to do is to select (randomly)
  another mirror from mirrors.txt if it receives unworkable output, or
  fall back to countrycode.archive.ubuntu.com or something more
  graceful.

  Tested on: Ubuntu 10.10, x86_64, with apt 0.8.3ubuntu7.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/898116/+subscriptions




More information about the foundations-bugs mailing list