dude67 Posted September 2, 2009 Report Share Posted September 2, 2009 (edited) I have this PC #2 with Mandriva / WinXP dualboot system. I rarely use this PC anymore so I hadn't updated 2009.0 to 2009.1 until yesterday. Now, when it's time to get all the updated packages, I cannot add any medias! I tried through the Easy URPMI with all possible options (manual selection of packages, manual mirror selection and fully automatic). I also went through MCC and tried to add medias from GUI, but no luck. I used the same DVD Free that I used when installing my PC #1 so that should not be the problem. I can connect to internet and I can ping e.g. plf.zarb.org with no problem. But all the medias I'm trying to download sources for I get the same error message pop-up. It says: "Could not find a mirror from mirrorlist $MIRRORLIST" Any ideas what the problem might be? Edited September 14, 2009 by dude67 Quote Link to comment Share on other sites More sharing options...
boatman9 Posted September 2, 2009 Report Share Posted September 2, 2009 (edited) I don't know a lot about the Mandriva package repository system, however I have some notes and a procedure that worked for me. Of course all commands were done as root. I used the following commands in the order shown. urpmi.removemedia -a (reinitialize urpmi's setup) Next I went to http://easyurpmi.zarb.org/ and reviewed the options, and chose the command line method. urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST' urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/$RELEASE.$ARCH.list' urpmi.update -a (to get the most recent package lists) urpmi --auto-select --auto --sortmedia PLF (to update packages with preference to any PLF sources) urpmi --auto --sortmedia PLF codeina flash-player-plugin ffmpeg mencoder mplayer mplayer-gui vlc win32-codecs libdvdcss2 gstreamer0.10-a52dec gstreamer0.10-mms gstreamer0.10-pitfdll gstreamer0.10-plugins-ugly gstreamer0.10-amrnb kaffeine (adds any packages you may want, prefer PLF source if available) urpmi --clean (clears your local rpm package directory in case you want to free some disk space) Edited September 2, 2009 by boatman9 Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 2, 2009 Author Report Share Posted September 2, 2009 Thanks boatman9. That's just basically what I did. Well, I didn't remove the media (DVD), but when I tried adding media: urpmi.addmedia --distrib --mirrorlist '$MIRRORLIST' It failed with the error message I posted. Quote Link to comment Share on other sites More sharing options...
boatman9 Posted September 2, 2009 Report Share Posted September 2, 2009 You can try it this way: urpmi.addmedia --distrib --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.1.i586.list' urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/2009.1.i586.list' If that does not work then I would suspect 'urpmi.addmedia' is getting the list of servers but failing to identify any best server for you. Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 2, 2009 Author Report Share Posted September 2, 2009 Thanks again. Still, this is the way I have tried. I have used Mandriva for more then three years, but never have I run into this kind of problem. Anyone? Quote Link to comment Share on other sites More sharing options...
speedball2 Posted September 2, 2009 Report Share Posted September 2, 2009 You could try removing the media again and doing them one by one. Like this: urpmi.addmedia 'Main' 'ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.1/i586/media/main/release' urpmi.addmedia 'Contrib' 'ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.1/i586/media/contrib/release' urpmi.addmedia 'Non-free' 'ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.1/i586/media/non-free/release' urpmi.addmedia --update 'Main Updates' 'ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.1/i586/media/main/updates' urpmi.addmedia --update 'Contrib Updates' 'ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.1/i586/media/contrib/updates' urpmi.addmedia --update 'Non-free Updates' 'ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.1/i586/media/non-free/updates' Add backports and testing the same way if you like. Change the mirror url to one near you with easy urpmi and copy and paste as root. Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 3, 2009 Author Report Share Posted September 3, 2009 Thanks speedball, but is there really something different in your approach? I have tried to add them several different way from auto detect mode to individually adding them from several different location near and far. I believe my only chance is to re-install the whole thing anew. I see that MDV2010.0 is still not due until early November, so I'm not going to wait that long. I'll re-install the bugger and post back. Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 12, 2009 Author Report Share Posted September 12, 2009 I reinstalled the Mandriva 2009.1 - no help. The situation is the same. I can connect to internet from this PC (I'm posting this from that very PC), but cannot add sources. I get this list: [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.1.i586.list' 'Main' 'media/main/release' adding medium "Main" mirror list not found Could not find a mirror from mirrorlist http://api.mandriva.com/mirrors/basic.2009.1.i586.list [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.1.i586.list' 'Contrib' 'media/contrib/release' adding medium "Contrib" mirror list not found Could not find a mirror from mirrorlist http://api.mandriva.com/mirrors/basic.2009.1.i586.list [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.1.i586.list' 'Non-free' 'media/non-free/release' adding medium "Non-free" mirror list not found Could not find a mirror from mirrorlist http://api.mandriva.com/mirrors/basic.2009.1.i586.list [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.1.i586.list' 'Main Updates' 'media/main/updates' adding medium "Main Updates" mirror list not found Could not find a mirror from mirrorlist http://api.mandriva.com/mirrors/basic.2009.1.i586.list [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.1.i586.list' 'Contrib Updates' 'media/contrib/updates' adding medium "Contrib Updates" mirror list not found Could not find a mirror from mirrorlist http://api.mandriva.com/mirrors/basic.2009.1.i586.list [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://api.mandriva.com/mirrors/basic.2009.1.i586.list' 'Non-free Updates' 'media/non-free/updates' adding medium "Non-free Updates" mirror list not found Could not find a mirror from mirrorlist http://api.mandriva.com/mirrors/basic.2009.1.i586.list [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.1.i586.list' 'PLF Free' '../../../2009.1/free/release/binary/i586' adding medium "PLF Free" mirror list not found Could not find a mirror from mirrorlist http://plf.zarb.org/mirrors/2009.1.i586.list [root@localhost dude67]# urpmi.addmedia --mirrorlist 'http://plf.zarb.org/mirrors/2009.1.i586.list' 'PLF Non-free' '../../../2009.1/non-free/release/binary/i586' adding medium "PLF Non-free" mirror list not found Could not find a mirror from mirrorlist http://plf.zarb.org/mirrors/2009.1.i586.list Then I tried pinging the site. It worked fine. [root@localhost dude67]# ping plf.zarb.org PING ryu.zarb.org (212.85.158.22) 56(84) bytes of data. 64 bytes from ryu.zarb.org (212.85.158.22): icmp_seq=1 ttl=52 time=74.1 ms 64 bytes from ryu.zarb.org (212.85.158.22): icmp_seq=2 ttl=52 time=67.9 ms 64 bytes from ryu.zarb.org (212.85.158.22): icmp_seq=3 ttl=52 time=68.4 ms 64 bytes from ryu.zarb.org (212.85.158.22): icmp_seq=4 ttl=52 time=69.4 ms ^C --- ryu.zarb.org ping statistics --- 4 packets transmitted, 4 received, 0% packet loss, time 3395ms rtt min/avg/max/mdev = 67.945/69.977/74.125/2.459 ms I even tried loading the list from zarb.org with Firefox and this is the result. So why can't I get the mirror list? zone=ES,country=Spain,latitude=37.38,longitude=-5.99,version=2009.1,arch=i586,type=distrib,url=ftp://ftp.cica.es/mirrors/Linux/plf/mandriva/cfg/2009.1/i586 zone=ES,country=Spain,latitude=37.38,longitude=-5.99,version=2009.1,arch=i586,type=distrib,url=http://ftp.cica.es/mirrors/Linux/plf/mandriva/cfg/2009.1/i586 zone=ES,country=Spain,latitude=37.38,longitude=-5.99,version=2009.1,arch=i586,type=distrib,url=rsync://ftp.cica.es/plf/mandriva/cfg/2009.1/i586 zone=FR,country=France,latitude=48.87,longitude=2.33,version=2009.1,arch=i586,type=distrib,url=ftp://ftp.free.fr/pub/Distributions_Linux/plf/mandriva/cfg/2009.1/i586 zone=RO,country=Romania,latitude=44.43,longitude=26.10,version=2009.1,arch=i586,type=distrib,url=ftp://ftp.gts.lug.ro/plf/mandriva/cfg/2009.1/i586 zone=RO,country=Romania,latitude=44.43,longitude=26.10,version=2009.1,arch=i586,type=distrib,url=http://ftp.gts.lug.ro/plf/mandriva/cfg/2009.1/i586 zone=FR,country=France,latitude=48.87,longitude=2.33,version=2009.1,arch=i586,type=distrib,url=ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/cfg/2009.1/i586 zone=FR,country=France,latitude=48.87,longitude=2.33,version=2009.1,arch=i586,type=distrib,url=http://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/cfg/2009.1/i586 zone=RO,country=Romania,latitude=44.43,longitude=26.10,version=2009.1,arch=i586,type=distrib,url=ftp://ftp.mandrivausers.ro/pub/plf/mandriva/cfg/2009.1/i586 zone=RO,country=Romania,latitude=44.43,longitude=26.10,version=2009.1,arch=i586,type=distrib,url=http://ftp.mandrivausers.ro/pub/plf/mandriva/cfg/2009.1/i586 zone=BG,country=Bulgaria,latitude=43.00,longitude=25.00,version=2009.1,arch=i586,type=distrib,url=ftp://mandriva.cointech.net/pub/plf/mandriva/cfg/2009.1/i586 zone=BG,country=Bulgaria,latitude=43.00,longitude=25.00,version=2009.1,arch=i586,type=distrib,url=http://mandriva.cointech.net/pub/plf/mandriva/cfg/2009.1/i586 zone=BG,country=Bulgaria,latitude=43.00,longitude=25.00,version=2009.1,arch=i586,type=distrib,url=rsync://mandriva.cointech.net/plf/mandriva/cfg/2009.1/i586 zone=CN,country=China,latitude=39.93,longitude=116.39,version=2009.1,arch=i586,type=distrib,url=http://fundawang.lcuc.org.cn/plf/mandriva/cfg/2009.1/i586 zone=PT,country=Portugal,latitude=41.15,longitude=-8.62,version=2009.1,arch=i586,type=distrib,url=http://plf.dcc.fc.up.pt/mandriva/cfg/2009.1/i586 zone=CZ,country=CzechRepublic,latitude=50.08,longitude=14.47,version=2009.1,arch=i586,type=distrib,url=http://plf.supp.name/mandriva/cfg/2009.1/i586 zone=TW,country=Taiwan,latitude=24.80,longitude=120.97,version=2009.1,arch=i586,type=distrib,url=ftp://ftp.twaren.net/Linux/PLF/mandriva/cfg/2009.1/i586 zone=TW,country=Taiwan,latitude=24.80,longitude=120.97,version=2009.1,arch=i586,type=distrib,url=http://ftp.twaren.net/Linux/PLF/mandriva/cfg/2009.1/i586 zone=PT,country=Portugal,latitude=38.72,longitude=-9.13,version=2009.1,arch=i586,type=distrib,url=ftp://plf.caixamagica.pt/mandriva/cfg/2009.1/i586 zone=PT,country=Portugal,latitude=38.72,longitude=-9.13,version=2009.1,arch=i586,type=distrib,url=http://plf.caixamagica.pt/mandriva/cfg/2009.1/i586 zone=US,country=USA,latitude=39.97,longitude=-83.02,version=2009.1,arch=i586,type=distrib,url=http://mirrors.zerg.biz/plf/mandriva/cfg/2009.1/i586 zone=HU,country=Hungary,latitude=46.25,longitude=20.17,version=2009.1,arch=i586,type=distrib,url=ftp://mandrivalinux.hu/pub/mandriva/unofficial/plf/mandriva/cfg/2009.1/i586 zone=HU,country=Hungary,latitude=46.25,longitude=20.17,version=2009.1,arch=i586,type=distrib,url=http://mandrivalinux.hu/mandriva/unofficial/plf/mandriva/cfg/2009.1/i586 Quote Link to comment Share on other sites More sharing options...
xboxboy Posted September 13, 2009 Report Share Posted September 13, 2009 Dude67, I live in Australia and I often have trouble finding the mirror list. I dont know why or how! I usually just keep trying, come back in a few hours or even the next day! I know how frustrating it is! Thats all I can add, I hope thats all it is and not a major problem. Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 13, 2009 Author Report Share Posted September 13, 2009 Thanks xboxboy. For me this is the first time, but if that's the case, then I will keep trying. Quote Link to comment Share on other sites More sharing options...
theYinYeti Posted September 14, 2009 Report Share Posted September 14, 2009 I've had problems with mirror lists in the past on two computers. As far as I can tell (no real investigation), the company proxy was the culprit on one, and the parental control on the other. Anyway, I've usually had success with mirror-unaware media, like speedball2 says. Yves. 1 Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 14, 2009 Author Report Share Posted September 14, 2009 I will try that hopefully tonight when I get the chance. I didn't realize that the speedball's suggestion was any different to what I have tried, but I will definitely give it a go. I tried again earlier today with the Easy URPMI, but with the same result (no mirrors found). I have installed the new version just like I always have: making a fresh installation (not updating) and formating "/" while keeping "/home". Does that have anything to do with it? Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 14, 2009 Author Report Share Posted September 14, 2009 You could try removing the media again and doing them one by one. This is the result: # urpmi.addmedia 'Main' 'ftp://ftp.free.fr/mirrors/ftp.mandriva.com/MandrivaLinux/official/2009.1/i586/media/main/release' adding medium "Main" ...retrieving failed: curl failed: exited with 6 no metadata found for medium "Main" Then I stopped shorewall and tried again. No metadata found for medium "main".. I don't think it's a hw compatibility problem as I can still connect to internet. I don't get it... Quote Link to comment Share on other sites More sharing options...
dude67 Posted September 14, 2009 Author Report Share Posted September 14, 2009 OK, solved it. Perhaps curl was broken or something, as all I did was change the programme from curl to wget. This did the trick and I was able to add all the sources I wanted. Me happy now. I am now downloading the 440 updated packages. Quote Link to comment Share on other sites More sharing options...
coverup Posted September 17, 2009 Report Share Posted September 17, 2009 How did you switch to wget? I have the same problem... cannot download a list from PLF, though I was able to install kde3 packages from other media just fine. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.