LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 05-08-2010, 09:41 PM   #1
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Rep: Reputation: 31
aria2 error while adding media....


Hello there, I've just reinstalled Mandriva x86_64 and I can't add new media for urpmi such as PLF. Normally i use easyurpmi to add new media but it does nothing and i get the same error while adding in the terminal
Code:
$urpmi.addmedia --distrib --mirrorlist 'http://plf.zarb.org/mirrors/2010.0.x86_64.list'
...retrieving failed: aria2 failed: exited with 2

unable to access the distribution medium (no media.cfg file found)
unable to add medium
I don't see any networking activity at all but I still can use firefox and bittorent and use the mandriva update tool... Also i could add via MCC the normal medias from mandriva free.

Any ideas?
 
Old 05-08-2010, 11:03 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Try adding PLF from here: smart-urpmi you get a choice of which mirror(s) to use. Make sure you choose the right architecture at the start.
 
Old 05-09-2010, 12:02 AM   #3
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Try adding PLF from here: smart-urpmi you get a choice of which mirror(s) to use. Make sure you choose the right architecture at the start.
that really helped me! Thank you very much!
 
Old 05-10-2010, 04:30 PM   #4
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Original Poster
Rep: Reputation: 31
i had to reinstall mandriva 2010.0 and i thought that with the smarturpmi, i would be able to add the medias that i need... but here is something that i still can't figure out.

Code:
# ./smarturpmi.sh

          smart-urpmi 1.29 by Dieter Schuetze

			Please select an option
 --------------------------------------------------------
 a = Fully automatic
 b = User controlled
 h = Help
 --------------------------------------------------------
 e = Exit
Choice ?)
Are the existing package lists to be deleted ? [yes/no ]
Now I get the selected package lists
adding medium "main_release"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "main_release"
adding medium "contrib_release"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "contrib_release"
adding medium "non-free_release"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "non-free_release"
adding medium "plf-free_release"
    ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/free/release/binary/x86_64/media_info/synthesis.hdlist.cz
adding medium "plf-nonfree_release"                                            
    ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/non-free/release/binary/x86_64/media_info/synthesis.hdlist.cz
adding medium "main_updates"                                                   
...retrieving failed: curl failed: exited with 28

no metadata found for medium "main_updates"
adding medium "contrib_updates"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "contrib_updates"
adding medium "non-free_updates"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "non-free_updates"
adding medium "main_backports"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "main_backports"
adding medium "contrib_backports"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "contrib_backports"
adding medium "non-free_backports"
...retrieving failed: curl failed: exited with 28

no metadata found for medium "non-free_backports"
adding medium "plf-free_backports"
    ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/free/backports/binary/x86_64/media_info/synthesis.hdlist.cz
adding medium "plf-nonfree_backports"                                          
    ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/non-free/backports/binary/x86_64/media_info/synthesis.hdlist.cz
Basically it had no issues to add PLF medias but failed to add the Officials media...

Here is the command within the script that i created, thanks to smarturpmi:
Code:
/usr/sbin/urpmi.addmedia main_release ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/main/release/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia contrib_release ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/contrib/release/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia non-free_release ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/non-free/release/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia plf-free_release ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/free/release/binary/x86_64/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia plf-nonfree_release ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/non-free/release/binary/x86_64/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia --update main_updates ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/main/updates/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia --update contrib_updates ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/contrib/updates/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia --update non-free_updates ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/non-free/updates/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia main_backports ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/main/backports/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia contrib_backports ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/contrib/backports/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia non-free_backports ftp://ftp.c3sl.ufpr.br/MandrivaLinux/official/2010.0/x86_64/media/non-free/backports/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia plf-free_backports ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/free/backports/binary/x86_64/ with media_info/hdlist.cz
/usr/sbin/urpmi.addmedia plf-nonfree_backports ftp://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/2010.0/non-free/backports/binary/x86_64/ with media_info/hdlist.cz
it's a fresh install and it really getting on my nerves... here is my spec for my HDDs/partitions

http://img97.imageshack.us/img97/7049/hddsetup.jpg

Uploaded with ImageShack.us

In my /usr/local/ i've got some games installed.

any thoughts?
 
Old 05-11-2010, 12:42 PM   #5
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
All i can think of is the location of repos you've selected may have a problem. If the location is not an issue (or even just to test that it's not a problem with your system) I am using ftp.mandrivauser.de they are working for me. I'm using i586, but I see no reason why x86_64 shouldn't work from that location also. Give it a try and let me know how you get on.
 
Old 05-11-2010, 02:20 PM   #6
setlec_seta
Member
 
Registered: Oct 2003
Location: somewhere around the world
Distribution: Mandriva 2010.1 pwp 64bit
Posts: 199

Original Poster
Rep: Reputation: 31
Oddly, this worked for me... WTF is happening?

Code:
urpmi.addmedia --distrib ftp://ftp.mandriva.ru/mandriva/official/2010.0/x86_64
urpmi.addmedia --distrib ftp://ftp.mandriva.ru/plf/cfg/2010.0/x86_64
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I lost a download with aria2 elaich Linux - Software 1 04-13-2010 10:44 AM
aria2, ‘assert’ was not declared in this scope , compiler error adityasharma Linux - Newbie 4 07-31-2009 05:51 AM
Adding Linux Media PC to my home network Ioneth Linux - Networking 1 11-27-2007 08:01 PM
Cannot read package data from installation media. Media error? </m0r1arty> SUSE / openSUSE 2 01-26-2005 07:57 PM
Adding a media source for SUSE 9.1 Caysho Linux - Newbie 0 12-02-2004 05:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration