problem wih media configuration (media.cfg missing)

Hi there. I would need some help around media configuration on mageia 2. There has been some time I have installed mageia 2 in a virtual machin on my job. Right now I need to update a package, but I really can't get to configure update media. When I got to MCC and then to media settings I get
No difference when I try it with wget or curl:
I tried as well from the command line, with no success
Furthermore, when I go to CCM/Installation media settings/File/Add a media and I try to manually add the URL
onnalisé) je rajout
Name: Core Release
URL: http://distrib-coffee.ipsl.jussieu.fr/p ... re/release
I get
Thanks in advance!
- Code: Select all
Impossible d'ajouter le média, erreurs rapportées :
mirror list not found
... échec de la récupération :
impossible d'accéder au média de distribution (pas de fichier media.cfg trouvé)
Média : distrib ()
No difference when I try it with wget or curl:
- Code: Select all
Impossible d'ajouter le média, erreurs rapportées :
mirror list not found
... échec de la récupération :
impossible d'accéder au média de distribution (pas de fichier media.cfg trouvé)
Média : distrib ()
I tried as well from the command line, with no success
- Code: Select all
[root@flores ~]# urpmi.addmedia --distrib --mirrorlist 'http://mirrors.mageia.org/api/mageia.2.x86_64.list' --debug
getting exclusive lock on urpmi
parsing: /etc/urpmi/mediacfg.d/Stable-2-x86_64
not using metalink since requested downloader does not handle it
récupération de la liste des miroirs depuis http://mirrors.mageia.org/api/mageia.2.x86_64.list
récupération de http://mirrors.mageia.org/api mageia.2.x86_64.list
'/usr/bin/curl' '-q' '-s' '--location-trusted' '-R' '-f' '--disable-epsv' '--connect-timeout' '60' '--anyauth' '--stderr' '-' '-O' 'http://mirrors.mageia.org/api/mageia.2.x86_64.list'
mirror list not found
géolocalisation trouvée FR 48.87 2.33 du fuseau horaire Europe/Paris
... échec de la récupération :
impossible d'accéder au média de distribution (pas de fichier media.cfg trouvé)
impossible d'ajouter le média
unlocking urpmi database
EXITING (pid=2580)
Furthermore, when I go to CCM/Installation media settings/File/Add a media and I try to manually add the URL
onnalisé) je rajout
Name: Core Release
URL: http://distrib-coffee.ipsl.jussieu.fr/p ... re/release
I get
- Code: Select all
ajout du média « Core Release »
/bin/cp: impossible d'évaluer « »: Aucun fichier ou dossier de ce type
récupération du fichier media.cfg...
Error: ... échec de la récupération : curl a échoué : sortie avec 7
Error: impossible d'accéder au média de distribution (pas de fichier media.cfg trouvé)
Thanks in advance!