Bug 12561 - Mageia 4 - mirror list from $MIRRORLIST is not accessible on line via media manager
Summary: Mageia 4 - mirror list from $MIRRORLIST is not accessible on line via media m...
Status: RESOLVED WORKSFORME
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 5
Assignee: Sysadmin Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-04 01:33 CET by Bruce Faehrmann
Modified: 2015-06-05 04:24 CEST (History)
3 users (show)

See Also:
Source RPM:
CVE:
Status comment:


Attachments

Description Bruce Faehrmann 2014-02-04 01:33:24 CET
Mageia 4 KDE 86-64

I have recently completed a fresh install (initially using the "Live" DVD and later the full installation DVD).

I sought to access and install programs and updates from the "tainted" software repositeries via the software management module (never a problem with Mageia 3).  However, when using the "Options - Media Manager" menu, only "Core Release" and "Nonfree Release" items are displayed.  When activating the "Add" button the system produces advice that the Mageia website needs to be contacted to obtain a mirror list. After pressing the "Yes" button to proceed the following advice is received:

    " Failure when adding medium
There is a problem when adding medium:
Could not find a mirror from mirrorlist $MIRRORLIST"

My network and internet connections are fully functional.

I have checked a local mirror (Internode Australia) and have confirmed that the repositories of Mageia 4 software (including "tainted") do exist - but there is a missing component on Mageia's web site.  

Reproducible: 

Steps to Reproduce:
Comment 1 Manuel Hiebel 2014-02-04 17:17:16 CET
going to http://mirrors.mageia.org/api/mageia.4.x86_64.list or http://mirrors.mageia.org/api/mageia.4.x86_64.list from a browser does work ?
Comment 2 Nao-aki Kitani 2014-02-10 22:04:02 CET
Hello Bruce,

I went through exactly the same process installing Mageia 4 as you, and encountered exactly the same problem.

After much online research and experimentation, this one finally worked for me;

Close Mageia Control Center, if it is running (some things are locked while it is, thus preventing manual configuration, which follows).

Open a terminal (Application Launcher Menu>Tools>Konsole), and as root (type "su" and provide root password), proceed to;

[root@localhost yourusername]#urpmi.addmedia --distrib --mirrorlist --wget 'http://mirrors.mageia.org/api/mageia.4.x86_64.list'

(curl is used by default, but for some reason it does not work, the "--wget" option uses wget instead, which does.)

The extra details are for just in case you are a relatively new user, a thousand apologies if I have been unintentionally condescending.

I hope this also does it for you.



(In reply to Bruce Faehrmann from comment #0)
> Mageia 4 KDE 86-64
> 
> I have recently completed a fresh install (initially using the "Live" DVD
> and later the full installation DVD).
> 
> I sought to access and install programs and updates from the "tainted"
> software repositeries via the software management module (never a problem
> with Mageia 3).  However, when using the "Options - Media Manager" menu,
> only "Core Release" and "Nonfree Release" items are displayed.  When
> activating the "Add" button the system produces advice that the Mageia
> website needs to be contacted to obtain a mirror list. After pressing the
> "Yes" button to proceed the following advice is received:
> 
>     " Failure when adding medium
> There is a problem when adding medium:
> Could not find a mirror from mirrorlist $MIRRORLIST"
> 
> My network and internet connections are fully functional.
> 
> I have checked a local mirror (Internode Australia) and have confirmed that
> the repositories of Mageia 4 software (including "tainted") do exist - but
> there is a missing component on Mageia's web site.  
> 
> Reproducible: 
> 
> Steps to Reproduce:

CC: (none) => nkitani

Comment 3 David Walser 2015-05-04 23:10:04 CEST
Possibly a network issue that day.

Status: NEW => RESOLVED
Resolution: (none) => OLD

Comment 4 Renato Dali 2015-05-17 17:42:20 CEST
> Possibly a network issue that day.

Might be... that notwithstanding:

I'm testing Mageia 5 RC on another old PC I have (please imagine evil laughter sound effect in background) and that problem came back to haunt me. I actually seem to remember having done that fix in Mandriva (I'm not sure, might be already in Mageia 1 or something).

This is a known problem but somewhat infrequent, so we (aham, I) tend to forget about the fix.

THE FIX: just select the function in MCC to manage medias, but prior to clicking on "Add...", go to Options, Global Options (top main menu in MCC) and change from "curl" to "wget".

Then click on "Add..." and all will work.

I'm documenting this here because it's easier than the above urpmi command line use, because it happened in 586, too, and because it happened in Mageia 5 RC.

Also changed the Product field from Infrastructure to Mageia, because the proxies are there and working. IMHO either someone fix curl to start working or we adopt wget as default (or other better idea).

As a fix was available I changed the status to RESOLVED/WORKSFORME: it's not old (for now), it happened in M5 RC.

For the record, it's an old Celeron 1.7GHz (a downgraded P4) with only 512MB RAM and a 20GB disk, S3 video (with Savage driver)... with so little memory this machine has problems even with LXDE (I recommend IceWM).

I'm going thru a router via ethernet cable, then a firewall machine (right now without a proxy), then it's the cable modem and thereafter the provider's gateway.

CC: (none) => mkare
Component: Others => RPM Packages
Hardware: x86_64 => All
Version: unspecified => Cauldron
Resolution: OLD => WORKSFORME
Product: Infrastructure => Mageia
Target Milestone: --- => Mageia 5

Comment 5 Renato Dali 2015-06-05 04:24:16 CEST
I went thru this situation again while doing a minimum M5 RC install (described in bug 16066, comment #21).

The releant part is:

-----------------------------------------------

When trying to install from online repos, I noticed I couldn't add media ("media.cfg not found"). I've met a similar bug the other day... bug 12561.

In the present case, using (even installing) wget didn't help; as suggested by David Walser on that bug, it might just be a momentous network issue.

I went back and tried to reinstall everything again, this second time allowing the suggested packages and basic documentation.

-----------------------------------------------

Would it be possible that the media.cfg definition (is it a file?) is part of the suggested packages?

Note You need to log in before you can comment on or make changes to this bug.