Ubuntu

apt-spy does not have ubuntu mirror listing

Reported by Benjamin Montgomery on 2005-08-16
24
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt-spy (Ubuntu)
Medium
MOTU

Bug Description

apt-spy does not have a listing of ubuntu mirrors. Ubuntu does not provide mirror information in the same way as Debian so the tool is unable to update its mirror listing.

Changed in apt-spy:
assignee: nobody → motu
Benjamin Montgomery (bmonty) wrote :

I am working on several patches to apt-spy so that it can parse the ubuntu wiki page that has the package mirrors. I've got a somewhat complete prototype in perl and I'm working to integrate that with the existing apt-spy package.

Benjamin Montgomery (bmonty) wrote :

ubuntu needs to consider providing a mirrors list similar to what debian provides for this package to be of much use. Otherwise it requires a complete rewrite.

Carthik Sharma (carthik) on 2006-08-04
Changed in apt-spy:
status: Unconfirmed → Confirmed
Scott Beamer (angrykeyboarder) wrote :

I second that. Not to meniton that list needs some updating.

Scott Beamer (angrykeyboarder) wrote :

Oh wow!

I just noticed this bug is 14 MONTHS old....

Uhh.. why not just pull the package from the archive. It's downright dangerous in it's current state.

Matt LaPlante (cybrmatt) wrote :

Anybody home? Why is this package even available, it's not only useless, as the poster above commented, it's plainly dangerous.

StefanPotyra (sistpoty) wrote :

Hi,

I've been asking around if it's possible to get https://launchpad.net/ubuntu/+archivemirrors/ as an easily parseble format, however didn't get a response yet.

Until that's possible, I see two options:
a) somehow parse the html output
b) rewrite /var/lib/apt-spy/mirrors.txt in the package by hand.

Anyone volunteering?

Cheers,
    Stefan.

Matt LaPlante (cybrmatt) wrote :

Open https://launchpad.net/ubuntu/+archivemirrors in FireFox. Right Click>View Page Info>Links>Ctrl+A>Ctrl+C

vim /tmp/links
[paste from clipboard]
sed -i -e '/canonical/d' /tmp/links -e '/launchpad/d' /tmp/links

Scott Beamer (angrykeyboarder) wrote :

As stated 7 months ago..

"Uhh.. why not just pull the package from the archive? It's downright dangerous in it's current state."

Jordan (jordanu) wrote :

"I am working on several patches to apt-spy so that it can parse the ubuntu wiki page that has the package mirrors."

It seems this idea has already been abandoned but I would just like to note that it seems incredibly insecure to grab apt sources from a wiki, even if a maliciously added repository wouldn't authenticate with pgp most users unfortunately ignore those errors and would install unathenticated packages anyways.

Daniel Hahler (blueyed) wrote :

I've just filed bug #139016 to remove apt-spy from universe.

Daniel T Chen (crimsun) wrote :

apt-spy is no longer in the Ubuntu repository for releases newer than feisty.

Changed in apt-spy:
status: Confirmed → Won't Fix

It seems now that Ubuntu provides a mirror list through http://mirrors.ubuntu.com/mirrors.txt. Is it enough to push back apt-spy in repository (with some modifications to retrieve the list of mirrors from this URL)? The only problem seems to be that mirros.ubuntu.com is regularly down.

It seems there's also a port for Ubuntu wrote in Ruby available here: https://github.com/lagged/apt-spy2. Not packaged and doesn't know what it worths.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers