Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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.
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).
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.
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
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.