LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-30-2009, 09:53 AM   #1
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Rep: Reputation: 17
Question media.cfg error in mandriva 2010 One


When i try using The Easyurpmi i get this error right in the start.


Unable to add medium, errors reported:

mirror list not found
...retrieving failed:
unable to access the distribution medium (no media.cfg file found)

Medium: ()



Can any body help with this.I'm completely new to linux so having a lot of trouble finding my way around.
 
Old 11-30-2009, 10:17 AM   #2
S.V.
LQ Newbie
 
Registered: Dec 2006
Location: Bengaluru, India
Distribution: Mandriva, Mint, Slackware
Posts: 28

Rep: Reputation: 15
Hi Nabeel,
I have media.cfg and mirrorlist under /etc/urpmi/mediacfg.d/Official-2010.0-i586/ directory. Probably you have not added repos.

Open Mandriva control center, under 'Software Management', select 'Configure media sources for install and update'. Check if any media is selected. In my system, Mirrolist Main, Main updates, Contrib, Contrib updates, Non-free, Non-free updates are enabled. Enable them if not already enabled.

Last edited by S.V.; 11-30-2009 at 10:19 AM.
 
Old 11-30-2009, 10:29 AM   #3
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Original Poster
Rep: Reputation: 17
Unhappy

Quote:
Originally Posted by S.V. View Post
Hi Nabeel,
I have media.cfg and mirrorlist under /etc/urpmi/mediacfg.d/Official-2010.0-i586/ directory. Probably you have not added repos.
Open Mandriva control center, under 'Software Management', select 'Configure media sources for install and update'. Check if any media is selected. In my system, Mirrolist Main, Main updates, Contrib, Contrib updates, Non-free, Non-free updates are enabled. Enable them if not already enabled.

Well Sir I followed your instructions to This point,("Open Mandriva control center, under 'Software Management', select 'Configure media sources for install and update'")but the list is empty

P.S.These directories are missing...../Official-2010.0-i586/ directory

Last edited by Nabeel; 11-30-2009 at 10:33 AM.
 
Old 11-30-2009, 10:41 AM   #4
S.V.
LQ Newbie
 
Registered: Dec 2006
Location: Bengaluru, India
Distribution: Mandriva, Mint, Slackware
Posts: 28

Rep: Reputation: 15
Quote:
Originally Posted by Nabeel View Post
Well Sir I followed your instructions to This point,("Open Mandriva control center, under 'Software Management', select 'Configure media sources for install and update'")but the list is empty
You mean, there was no entry at all so that you can select some? Did you try 'Add'?

P.S.: No 'Sir' thing please, we are all friends here.
 
Old 11-30-2009, 10:52 AM   #5
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Original Poster
Rep: Reputation: 17
Question

Quote:
Originally Posted by S.V. View Post
You mean, there was no entry at all so that you can select some? Did you try 'Add'?

P.S.: No 'Sir' thing please, we are all friends here.

Yes,and upon pressing add a dialog box pops up sying choose media types;with 2 buttons: update source only & fullset of sources.
And the directory" /etc/urpmi/mediacfg.d/ "is also empty
 
Old 11-30-2009, 10:58 AM   #6
S.V.
LQ Newbie
 
Registered: Dec 2006
Location: Bengaluru, India
Distribution: Mandriva, Mint, Slackware
Posts: 28

Rep: Reputation: 15
The directory is empty coz, there are no repos(media) added yet.

Choose 'Update sources only' for now, if it does not work you can choose the other one later.
 
Old 11-30-2009, 11:17 AM   #7
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by S.V. View Post
The directory is empty coz, there are no repos(media) added yet.

Choose 'Update sources only' for now, if it does not work you can choose the other one later.



Ok!by clicking the both buttons i got this error


Unable to add medium, errors reported:

mirror list not found
...retrieving failed:
unable to access the distribution medium (no media.cfg file found)

Medium: Official2010.0- ()

Last edited by Nabeel; 11-30-2009 at 11:19 AM.
 
Old 11-30-2009, 11:25 AM   #8
S.V.
LQ Newbie
 
Registered: Dec 2006
Location: Bengaluru, India
Distribution: Mandriva, Mint, Slackware
Posts: 28

Rep: Reputation: 15
Strange. You are updating the thread from the same system? If yes, then there should not be any problem. No clue. Can you take the screenshot of 'Configure media' page and attach here?
 
Old 11-30-2009, 11:59 AM   #9
Nabeel
Member
 
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 291

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by S.V. View Post
Strange. You are updating the thread from the same system? If yes, then there should not be any problem. No clue. Can you take the screenshot of 'Configure media' page and attach here?
Yes i am using the same system.I use a proxy server to connect to the internet.
 
Old 01-18-2010, 11:47 PM   #10
jjthomas
Member
 
Registered: Jan 2004
Location: Tacoma, WA
Distribution: Slackware 14
Posts: 242
Blog Entries: 2

Rep: Reputation: 28
My Solution to the same problem:

Start Software Management
Click Options and then Media Manager
In Media Manager click on Options and then Global Options
Change the Download program to use to wget.
Click Ok and add your repositories.

-JJ
 
Old 03-01-2010, 04:45 AM   #11
cavaldea
LQ Newbie
 
Registered: Apr 2009
Posts: 2

Rep: Reputation: 0
Hi I have got same problem. did you solve it?
 
Old 03-01-2010, 08:16 AM   #12
jjthomas
Member
 
Registered: Jan 2004
Location: Tacoma, WA
Distribution: Slackware 14
Posts: 242
Blog Entries: 2

Rep: Reputation: 28
See my solution posted right above your message.

-JJ
 
Old 05-17-2010, 07:03 PM   #13
srs008
LQ Newbie
 
Registered: Mar 2010
Posts: 1

Rep: Reputation: 0
thanks man, just experimenting with Mandriva 2010, at school and hidden behind proxy, great work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Mandriva 2010 gerard4143 Mandriva 16 03-19-2010 09:44 PM
Should I and how to use Mandriva 2010 Beta? markw10 Mandriva 3 09-23-2009 01:31 PM
Missing media.cfg file on Mandriva 2009 bdprem Mandriva 2 11-18-2008 04:23 PM
Installation Error: media.cfg AMA Mandriva 1 09-03-2008 10:24 PM
Mandriva 2007 media.cfg install error Karloman Mandriva 11 05-21-2007 02:13 AM


All times are GMT -5. The time now is 10:48 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration