How to exclude only one mirror

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

How to exclude only one mirror

Postby laidlaws » Jan 22nd, '12, 15:16

I am in Australia, and the Australian mirror is at aarnet.edu.au . At present, it is lacking an essential synthesis or hdlist file, and I am unable to update from it. This has been the case for a couple of days. I have been selecting a specific mirror, but it would be preferable only to exclude the Aussie one. Is this possible? The only option in MCC is to select only one. I don't mind editing config files.
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: How to exclude only one mirror

Postby wilcal » Jan 22nd, '12, 19:04

laidlaws wrote:I am in Australia, and the Australian mirror is at aarnet.edu.au .....

May I share a decision that I made years ago with Mandriva
and now with Mageia. I do not depend on a remote repo
for my updates and installs. I build a local repo. I
realize that that's pretty big but I think as you get
used to dealing with it your better off. Right now I
have local repos for

Mandriva 2010.2 32-bit
Mageia 1 32-bit
Mageia 2 32-bit
Mageia 2 64-bit

The server hosting these repos is the Mandy 2010.2
and that will be converted to Mageia 2 when it is
released in Apr/May. This is especially useful if
you are more then running one workstation.

Also if you are running a local repo it moves only
when and if you update it. The advantage of that
is that it does not move during the time you are
doing an install. If I have a critical system to
install I first update the local repo, sometimes
several times to get the update time down to a few
minutes. This to ensure that it's not moving when
I install. Then I do a test Vbox install against
the local repo. If that is successful then I am
confident that I have a good, and stable, local
repo to use for the critical install. You'll find
this most useful if you are doing anything with
Cauldron.

Also running a local repo you can choose your
source. I use mirrors.kernel.org. IMO a very
good source, if your willing to let the update
run over night would be: distrib-coffee.ipsl.jussieu.fr

Updates on Sundays late European time are the
most stable.
"DISK BOOT FAILURE - INSERT SYSTEM DISK AND PRESS ENTER"
is my friend
wilcal
 
Posts: 567
Joined: Jun 20th, '11, 02:01
Location: San Diego CA

Re: How to exclude only one mirror

Postby juergen_harms » Jan 22nd, '12, 19:31

MCC -> Software Management -> Configure media sources for ...
The first column of the display you get ("Enable") allows you to individually enable/disable media - I think that is what you want.
Code: Select all
I don't mind editing config files

You could also edit /etc/urpmi/urpmi.cfg and add an "ignore" line to the definition of the medium you want to disable (the "ignore" option is not documented in "man urpmi.cfg" - nevertheless, has been working for >> 20 years now.

Why dont you contact your edu site and tell them that something is wrong?
juergen_harms
 
Posts: 130
Joined: Mar 30th, '11, 22:36

Re: How to exclude only one mirror

Postby Ken-Bergen » Jan 23rd, '12, 00:52

laidlaws wrote:I am in Australia, and the Australian mirror is at aarnet.edu.au . At present, it is lacking an essential synthesis or hdlist file, and I am unable to update from it. This has been the case for a couple of days. I have been selecting a specific mirror, but it would be preferable only to exclude the Aussie one. Is this possible? The only option in MCC is to select only one. I don't mind editing config files.
As far as I know there is no way to blacklist a mirror when using $MIRRORLIST.
You could contact the mirror maintainer but if the problem persists please file a bug report so that the problem mirror gets removed from MIRRORLIST.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: How to exclude only one mirror

Postby laidlaws » Jan 28th, '12, 10:35

Yes, that is what I want to do, not to deselect a specific repository. Urpmi used to try an alternative mirror, now it just keeps failing.
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: How to exclude only one mirror

Postby doktor5000 » Jan 28th, '12, 17:40

Well, just find out which mirror works good for you and just add all repositories from that specific mirror, problem solved, no?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to exclude only one mirror

Postby laidlaws » Jan 30th, '12, 06:07

That is what I did in the end. I contacted Aarnet, and they obligingly did a manual rsync. That was no better, nor was the one in Taiwan. I was more concerned about loading a mirror unfairly. I finally went to ibiblio.org, and am downloading from it at the moment. The number prefixed to the hdlist file was very different. That may suggest that mirrors in our part of the world are out of date in general. I am using a Japanese mirror for the Mageia 1 release.
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: How to exclude only one mirror

Postby laidlaws » Jan 30th, '12, 06:30

wilcal wrote:
laidlaws wrote:I am in Australia, and the Australian mirror is at aarnet.edu.au .....

May I share a decision that I made years ago with Mandriva
and now with Mageia. I do not depend on a remote repo
for my updates and installs. I build a local repo. I
realize that that's pretty big but I think as you get
used to dealing with it your better off.

That is OK if you have plenty of disk space and a broadband connection. Right now, fibre optic broadband is being rolled out in Australia. Opposition policy is against it, and they are likely to win the next general election. I am using ADSL2+. Updating Cauldron from the Mga 1 dual arch will take about an hour.
laidlaws
 
Posts: 287
Joined: May 24th, '11, 04:58

Re: How to exclude only one mirror

Postby doktor5000 » Jan 30th, '12, 11:56

laidlaws wrote:
wilcal wrote:
laidlaws wrote:I am in Australia, and the Australian mirror is at aarnet.edu.au .....

May I share a decision that I made years ago with Mandriva
and now with Mageia. I do not depend on a remote repo
for my updates and installs. I build a local repo.


You seem to forget the fact that for creating a local mirror you still
need a reliable and up-to-date mirror as source, which does not solve the
key problem ...
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron