LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-20-2012, 06:45 AM   #1
shaana2khan
Member
 
Registered: Nov 2012
Posts: 46

Rep: Reputation: Disabled
Getting Error during Yum configration..


Hellow friends

I am configureing yum on RHEL 6,but it showing me error..

i have done every step properly,but at last when i run this command
#yum update
Then i got this error..
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again

you can also see my repo file...

[Server]
name=RHEL 6
baseurl=file:///var/ftp/pub/Server
enabled=1
gpgcheck=0

Please help i am trying to configure it from last three days..
 
Old 12-20-2012, 08:45 AM   #2
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Rep: Reputation: 27
It looks like something has added a repo. "InstallMedia" that doesn't work. Try "yum --disablerepo=InstallMedia", or look through /etc/yum.repos.d to find the repo. and disable it permanently. Then do yum update again and let us know the results. According to this bug report from RedHat, this actually is not a bug but a misconfiguration of your repos.
 
Old 12-20-2012, 12:12 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,090

Rep: Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474Reputation: 2474
shaana2khan
have you searched the Red Hat knowledge base ?
you are paying red for the required license and support contract ?
log in to red hat with your RHN credentials and do a search
https://access.redhat.com/search/quick?

in a normal install the "installmedia" repo text file SHOULD not be turned on ( or even in the yum.repo.d folder )
open it up and change all the "enabled=1" to "enabled=0"

then can you run this ( and if it works post the output)
Code:
su -
------ your root password when asked for ------
yum repolist all
 
Old 12-21-2012, 03:43 AM   #4
shaana2khan
Member
 
Registered: Nov 2012
Posts: 46

Original Poster
Rep: Reputation: Disabled
Hellow friend..
i want to say thanks to you for support me,but i have found my solution in my way,so if anyone have same problem then please follow the below given step..

Hi,

1) goto /etc/yum.repos.d

2)rm packagekit-media.repo

another way:

1)yum clean all

2)yum update

now i am able to insatll package..
 
Old 12-21-2012, 05:38 AM   #5
gacanepa
Member
 
Registered: May 2012
Location: San Luis, Argentina
Distribution: Debian
Posts: 203

Rep: Reputation: 27
Quote:
Originally Posted by shaana2khan View Post
Hellow friend..
i want to say thanks to you for support me,but i have found my solution in my way,so if anyone have same problem then please follow the below given step..

Hi,

1) goto /etc/yum.repos.d

2)rm packagekit-media.repo

another way:

1)yum clean all

2)yum update

now i am able to insatll package..
Thank you for getting back to the forum and for sharing this solution. Please mark this thread as solved so that other users having the same issue will find it easier to arrive at this solution.
 
  


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
[SOLVED] YUM Error - "CRITICAL:yum.cli:Config Error" vikas027 Linux - Server 4 05-03-2012 08:17 AM
CRITICAL:yum.cli Config Error yum.conf in RHEL 6.0 chunrima Linux - Software 2 12-09-2010 06:19 PM
Yum not working at all due to /usr/bin/yum syntax error aheusdens Linux - General 1 04-09-2010 04:15 PM
yum config error parsing file failed - yum won't run emuub Linux - Software 9 11-04-2008 05:48 AM
Yum on FC6. 'yum update' error. mufy Fedora 8 06-14-2007 02:03 AM


All times are GMT -5. The time now is 07:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration