Command to update mirror list

Bug #1875910 reported by edurenye on 2020-04-29
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Medium
Unassigned
python-apt (Ubuntu)
High
Unassigned

Bug Description

I see a lot of issues regarding outdated Ubuntu.mirrors file, I think there should be a command that imports the list of mirrors from https://launchpad.net/ubuntu/+archivemirrors and updates the templates/Ubuntu.mirrors file, then in the UI add a button that can update the list of Mirrors. I don't see the point of needing a new release every time the list needs to be updated.

I want a mirror that was updated yesterday, because is the closest to my location, but it is not in the list, and as you can see there are lots of issues from people that could have been avoided with this.

This is not really a bug, but a feature.
Also could be great if there was some kind of filter, like if you select now in Ubuntu 19.10 a ftp mirror and update it will fail, and the UI gets broken (you can't even close the window, you have to kill it), so doing this update should just import those mirrors that are safe to use.

Julian Andres Klode (juliank) wrote :

I think Launchpad should start shipping mirror lists in -updates pocket (only; probably), so that we can update the mirror lists of installed systems as part of apt update and don't have to rebuild python-apt and upgrade everywhere.

Changed in python-apt (Ubuntu):
status: New → Triaged
Julian Andres Klode (juliank) wrote :

Mirror lists change on a daily basis, python-apt on less than a point release basis (it should update mirror lists before point release, but this does not always happen afaict).

Changed in python-apt (Ubuntu):
importance: Undecided → High
Julian Andres Klode (juliank) wrote :

On the (python-apt) client side, this involves adding an apt.conf snippet to configure a new index target and then change the code to read from there.

Tom Wardill (twom) on 2020-05-18
Changed in launchpad:
status: New → Triaged
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers