LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices

Reply
 
Search this Thread
Old 07-23-2008, 12:37 AM   #1
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 248

Rep: Reputation: 31
what does closest mirror mean in: urpmi.addmedia --mirrorlist '$MIRRORLIST'


in the man page for urpmi.addmedia, it says:

urpmi.addmedia [options] --distrib --mirrorlist <url>
A mirror list is a special API to describe mirrors available. urpmi will pick the nearest mirror,
and will dynamically handle new mirrors. Example:

urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST'

what do they mean "nearest mirror"?

is this like apt-spy, where the program benchmarks the bit rate of each mirror and then selects the fastest one? or is it something more arbitrary?

Last edited by secretlydead; 07-23-2008 at 12:37 AM. Reason: misquote
 
Old 07-23-2008, 12:56 AM   #2
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
I know nothing about your app. Closest mirror in other situations means the mirror with a) fewest router hops, and b) lowest latency. In other words, pick the closest server with the best overall response.
 
Old 07-23-2008, 07:34 PM   #3
GlennsPref
Senior Member
 
Registered: Apr 2004
Location: Brisbane, Australia
Distribution: Mageia Studio-13.37 Kubuntu.
Posts: 3,325
Blog Entries: 33

Rep: Reputation: 199Reputation: 199
From what I have read it is geographical. The closest mirror.

I suggest setting up the repos with easy-urpmi. http://easyurpmi.zarb.org/

You may follow the instructions, or make your selections more personalised, pick your own mirror, achitecture and what repos you want.

Then copy and paste the lines to a shell/terminal like konsole, and wait for the downloads to finish.

Now you have an updated repository database on your system, so when you type
urpmi kate

urpmi will check your database then goto the site and download the package kate.

I hope this helps you, Glenn

edit> near the top of the http://easyurpmi.zarb.org/page, select "switch to the old interface"

Quote:
Automatic Mandriva Linux Media Setup

If you are using 2008.0 or older version, switch to the old interface.
If you are using smartpm instead of urpmi, switch to smartpm mode.
Now you can set it up without the "auto" list stuff.

personally, I use smart, but I still use the old interface to select repos from where I like.
Sometimes, from here in Aus. Brazil is faster than TW or Japan, because of the daylight-night time network congestion, but that is just my (2c)opinion <edit GW

Last edited by GlennsPref; 07-23-2008 at 07:49 PM. Reason: Switch to old version of zarb.org
 
Old 07-25-2008, 09:35 AM   #4
secretlydead
Member
 
Registered: Sep 2003
Location: Qingdao, China
Distribution: mandriva, slack, red flag
Posts: 248

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by Mr. C. View Post
I know nothing about your app. Closest mirror in other situations means the mirror with a) fewest router hops, and b) lowest latency. In other words, pick the closest server with the best overall response.
Mr. C, Thanks for your response.

What apps can I use to test which mirror has the fewest router hops and lowest latency?


(There's a really fantastic application in Debian called apt-spy. It downloads a list of mirrors and then benchmarks them and writes your config file based on that.)
 
Old 07-25-2008, 03:02 PM   #5
Mr. C.
Senior Member
 
Registered: Jun 2008
Posts: 2,529

Rep: Reputation: 59
traceroute
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use urpmi.addmedia ? singying304 Mandriva 5 07-28-2005 08:50 AM
urpmi.addmedia problems EHCanadian Mandriva 1 06-25-2005 02:28 AM
urpmi addmedia tsitras Mandriva 8 12-27-2004 07:28 PM
urpmi addmedia hangs billk Mandriva 2 03-16-2004 08:37 AM
Urpmi Addmedia Ronw Linux - General 0 11-19-2003 02:22 AM


All times are GMT -5. The time now is 11:24 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration