LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Installtion media YUM ran into error (https://www.linuxquestions.org/questions/linux-server-73/installtion-media-yum-ran-into-error-4175522287/)

irfanbasha007 10-16-2014 02:07 AM

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 ~]#

TB0ne 10-16-2014 09:11 AM

Quote:

Originally Posted by irfanbasha007 (Post 5254460)
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.

irfanbasha007 10-16-2014 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

---------- 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

irfanbasha007 10-16-2014 11:35 AM

i have installed oracle linux 6.5

TB0ne 10-16-2014 12:44 PM

Quote:

Originally Posted by irfanbasha007 (Post 5254673)
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.

vwtech 10-22-2014 10:52 AM

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.

irfanbasha007 10-22-2014 12:11 PM

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

John VV 10-22-2014 04:55 PM

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


All times are GMT -5. The time now is 11:23 AM.