Sunday, February 24, 2013

Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.+ RHEL

Hi Friends,

A quick solution for below error :-

while removing or installing through yum

---> Package rgmanager.x86_64 0:3.0.12.1-12.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@guitar /]#
[root@guitar /]# cd /etc/yum.repos.d/
[root@guitar yum.repos.d]# ls -ltr
total 12
-rw-r--r--. 1 root root 529 May 30  2012 rhel-source.repo.bkp
-r--r--r--. 1 root root 114 Jun 14  2012 packagekit-media.repo
-rw-r--r--. 1 root root  76 Feb 24 01:05 yum.repo
[root@guitar yum.repos.d]# mv packagekit-media.repo packagekit-media.repo.bkp
[root@guitar yum.repos.d]# yum clean all
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
Updating certificate-based repositories.
Unable to read consumer identity
Cleaning repos: Installer
Cleaning up Everything
[root@guitar yum.repos.d]#
[root@guitar yum.repos.d]#
[root@guitar yum.repos.d]# yum update .

I was removing some packages, so the same got resolved and packages got removed.

--> Processing Dependency: /usr/sbin/rpc.mountd for package: resource-agents-3.9.2-12.el6.x86_64
--> Processing Dependency: /sbin/mount.nfs4 for package: resource-agents-3.9.2-12.el6.x86_64
--> Processing Dependency: /sbin/mount.nfs for package: resource-agents-3.9.2-12.el6.x86_64
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package resource-agents.x86_64 0:3.9.2-12.el6 will be erased
--> Processing Dependency: resource-agents >= 3.9.1-1 for package: rgmanager-3.0.12.1-12.el6.x86_64
--> Running transaction check
---> Package rgmanager.x86_64 0:3.0.12.1-12.el6 will be erased
--> Finished Dependency Resolution
Dependencies Resolved
=============================================================================================================================
 Package                    Arch     Version                 Repository                                                 Size
=============================================================================================================================
Removing:
 PackageKit-device-rebind   x86_64   0.5.8-20.el6            @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   231 k
 bind                       x86_64   32:9.8.2-0.10.rc1.el6   @Installer                                                7.2 M
 bind-chroot                x86_64   32:9.8.2-0.10.rc1.el6   @Installer                                                0.0
 bind-dyndb-ldap            x86_64   1.1.0-0.9.b1.el6        @Installer                                                158 k
 bind-libs                  x86_64   32:9.8.2-0.10.rc1.el6   @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   2.2 M
 bind-utils                 x86_64   32:9.8.2-0.10.rc1.el6   @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   438 k
 rpcbind                    x86_64   0.2.0-9.el6             @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3    95 k
 samba-winbind              x86_64   3.5.10-125.el6          @Installer                                                 12 M
 samba-winbind-clients      x86_64   3.5.10-125.el6          @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   3.4 M
 ypbind                     x86_64   3:1.20.4-29.el6         @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3    91 k
Removing for dependencies:
 gnome-packagekit           x86_64   2.28.3-3.el6            @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   7.9 M
 gnome-vfs2-smb             x86_64   2.24.2-6.el6            @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3    32 k
 gvfs-smb                   x86_64   1.4.3-12.el6            @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   302 k
 ipa-client                 x86_64   2.2.0-16.el6            @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   239 k
 kdeartwork-screensavers    x86_64   4.3.4-7.el6             @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   788 k
 kdebase                    x86_64   6:4.3.4-5.el6           @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3    12 M
 kdebase-runtime            x86_64   4.3.4-9.el6             @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3    13 M
 kdebase-runtime-libs       x86_64   4.3.4-9.el6             @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3   4.4 M
 kdebase-workspace          x86_64   4.3.4-23.el6            @anaconda-RedHatEnterpriseLinux-201206132210.x86_64/6.3    26 M
 kdebase-workspace-libs     x86_64   4.3.4-23.el6            @anaconda-RedHatEnterpri

Love Sharing
Amit Chopra


 

3 comments:

jeetu said...

i m Very thankful to you
this is very useful to me

Nash said...

thanks buddy , i tried to make yum many different ways like ftp, http...but the same problem was there but your blog helped me ...keep it up.

Mariyappan S said...

Very very Nice blog i got solution thank you lot......