LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-16-2014, 02:07 AM   #1
irfanbasha007
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Rep: Reputation: Disabled
Installtion media YUM ran into error


hi friends .
when i installed any package with yum it is installing properly. But when i tried to remove that package it is showing some error ... i searched in google also but i didnt get solution , could any one please help me out , am pasting the error here..

login as: root
root@192.168.56.102's password:
Last login: Sat Oct 11 22:14:35 2014 from 172.20.5.122
[root@localhost ~]# yum remove nfs*
Loaded plugins: security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package nfs-utils.i686 1:1.2.3-39.el6 will be erased
--> Processing Dependency: nfs-utils for package: ipa-client-3.0.0-37.el6.i686
---> Package nfs-utils-lib.i686 0:1.1.5-6.el6 will be erased
---> Package nfs4-acl-tools.i686 0:0.3.3-6.el6 will be erased
--> Running transaction check
---> Package ipa-client.i686 0:3.0.0-37.el6 will be erased
--> Finished Dependency Resolution
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest




[root@localhost ~]# yum makecache
Loaded plugins: security
base | 3.6 kB 00:00 ...
Metadata Cache Created

[root@localhost ~]#
 
Old 10-16-2014, 09:11 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by irfanbasha007 View Post
hi friends .
when i installed any package with yum it is installing properly. But when i tried to remove that package it is showing some error ... i searched in google also but i didnt get solution, could any one please help me out , am pasting the error here..
I find that hard to believe, since I get LOTS of hits in Google for the error.
Quote:
login as: root
root@192.168.56.102's password:
Last login: Sat Oct 11 22:14:35 2014 from 172.20.5.122
[root@localhost ~]# yum remove nfs*
Loaded plugins: security
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package nfs-utils.i686 1:1.2.3-39.el6 will be erased
--> Processing Dependency: nfs-utils for package: ipa-client-3.0.0-37.el6.i686
---> Package nfs-utils-lib.i686 0:1.1.5-6.el6 will be erased
---> Package nfs4-acl-tools.i686 0:0.3.3-6.el6 will be erased
--> Running transaction check
---> Package ipa-client.i686 0:3.0.0-37.el6 will be erased
--> Finished Dependency Resolution
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

[root@localhost ~]# yum makecache
Loaded plugins: security
base | 3.6 kB 00:00 ...
Metadata Cache Created
[root@localhost ~]#
So did you try doing what the system suggested to you?? You posted those lines in red, and it has two different suggestions...try either of them? And you don't say what version/distro of Linux you're using, so it's hard to give anything but a generic answer.
 
Old 10-16-2014, 11:34 AM   #3
irfanbasha007
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
i have tried both of them suggestions but i dint resovled the problem and gettting same eeror

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again


i have configured yum by using the link below

http://computernetworkingnotes.com/n...-in-rhel6.html

---------- Post added 10-16-14 at 11:34 AM ----------

i have tried both of them suggestions but i dint resovled the problem and gettting same eeror

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again


i have configured yum by using the link below

http://computernetworkingnotes.com/n...-in-rhel6.html
 
Old 10-16-2014, 11:35 AM   #4
irfanbasha007
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
i have installed oracle linux 6.5
 
Old 10-16-2014, 12:44 PM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,636

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by irfanbasha007 View Post
i have tried both of them suggestions but i dint resovled the problem and gettting same eeror
Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia. Please verify its path and try again
Either of the suggestions the system gave you would work. If you want to do it manually, you (again), could have looked up this error. Go to the /etc/yum.repos.d directory, and remove the packagekit-media.repo file (better, MOVE it to a different location).

You can also try to change the client.repo file from enabled to disabled (set the 1 to a 0).
Quote:
i have configured yum by using the link below
http://computernetworkingnotes.com/n...-in-rhel6.html
Follow a different tutorial. First, you're using Oracle Enterprise Linux, NOT RHEL. Second, it's best to take advice from people who can actually spell and put together a sentence.
Quote:
Originally Posted by irfanbasha007
i have installed oracle linux 6.5
...which is another not-so-good thing to do. As has been covered on this site MANY times, neither Oracle nor Red Hat Enterprise Linux are free...you need to PAY FOR THEM, in order to get use out of the online repositories. If you're going for a 'certification', you should just load CentOS instead, and at least load the LATEST version (7.x), rather than 6.
 
Old 10-22-2014, 10:52 AM   #6
vwtech
Member
 
Registered: Dec 2007
Distribution: Fedora, Oracle Linux & Centos
Posts: 197

Rep: Reputation: 26
If you don't have the /etc/yum.repos.d/public-yum-ol6.repo ; visit http://public-yum.oracle.com/ and get the repo for your version and attempt again.
 
1 members found this post helpful.
Old 10-22-2014, 12:11 PM   #7
irfanbasha007
LQ Newbie
 
Registered: Aug 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
I have the /etc/yum.repos.d/public-yum-ol6.repo and it is working fine BUT If i want to connect public-yum-ol6.repo ,i need must and should as internnet connection.... I want to install packages without internet connection so i copied all packages in folder and follows the procedure as

http://computernetworkingnotes.com/n...-in-rhel6.html


if i follow above prodcedure am getting that error
 
Old 10-22-2014, 04:55 PM   #8
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
one thing EVERYONE is missing

Quote:
Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.
InstallMedia
InstallMedia
InstallMedia

that is the install DVD!!!
and should not have been turned on
nor should have been copied off the install dvd
REMOVE IT
remove that config file from
/etc/yum.repo.d
 
  


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
fedora 12 `yum update -y` & ran out of space in my /var/yum/cache/directory. techknowtarded Linux - Newbie 7 08-13-2011 07:23 PM
yum IOError: <urlopen error unknown url type: media> yuanjunliang Linux - Server 2 01-27-2010 07:29 PM
YUM installtion ...createrepo deci007 Linux - Newbie 1 10-31-2009 05:24 PM
media error is coming in yum install kanoongo Linux - Newbie 7 09-03-2009 09:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:32 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