banjo wrote:Where is this "Mirror list"?
So it looks like I just added a bunch of repositories, but not sure which. All of them? How to I see what is actually set up?
To see what is currently set up, either have a look into /etc/urpmi/urpmi.cfg or
- Code: Select all
urpmq --list-media active
to show all currently enabled media or
- Code: Select all
urpmq --list-media
to show all currently defined media or
- Code: Select all
urpmq --list-url
to show all currently defined media including the URLs which they point to.
EDIT: Seems since some time this command also shows URLs for Mirrorlist media if they are enabled...
Mirrorlist is a mechanism to use a placeholder instead of an absolute URL, which is being replaced at runtime with a mirrors
address near you by using geolocation and known mirrors you've used before, and looking in the mirror list, as mentioned before
http://mirrors.mageia.org.
No easy way to show which is being used, you can have a look in the cache file via e.g.
- Code: Select all
[doktor5000@localhost ~]$ grep chosen /var/cache/urpmi/mirrors.cache
'chosen' => 'http://mirror.tuxinator.org/mageia/distrib/3/x86_64',
And when you add media sources/repos, by default this is used. I don't like it as it's error prone, that's why i prefer to
specify which mirror it should use, as those are known good, sync often and didn't gave much problems over the last few years.
It's faster to do this via urpmi, so first that way:
- Code: Select all
sudo urpmi.removemedia -a
sudo urpmi.addmedia --distrib --wget 'ftp://ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia/distrib/$VERSION/$ARCH'
This adds all standard media sources from the mirror ftp-stud.hs-esslingen.de/pub/Mirrors/Mageia, automatically expands which Mageia version and arch (i586 or x86_64) you're using at runtime and uses wget as downloader.
Same can be done via MCC:
drakrpm-edit-media -> File -> Add Specific Media Mirror -> Yes (superfluous question IMHO) -> select the mirror including protocol you want
Remember you need to enable Nonfree and Tainted when adding default, media sources, can either be done via clicking, or
- Code: Select all
urpmi.update --no-ignore "Tainted Release" && urpmi.update --no-ignore "Tainted Updates" && urpmi.update --no-ignore "Nonfree Release" && urpmi.update --no-ignore "Nonfree Updates" && urpmi.update -av
FWIW, you can add multiple complete sets of media sources from different mirrors for redundancy, but I prefer to only have one
set, using a high-bandwith, fast-repsonding and up-to-date mirror. Gives the least problems.
You may want to have a look at some of the notes at
https://wiki.mageia.org/en/Installing_a ... g_software and
https://wiki.mageia.org/en/URPMIJust shout if you have any further questions.