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


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.
# 1  
Old 01-25-2014
Hammer & Screwdriver [Resolved] Error: Cannot retrieve repository metadata (repomd.xml) for repository: InstallMedia.

Most of my commands are returning this error on RHEL 6 64 bit:


Quote:
[root@xilinx acme]# yum list available
Loaded plugins: refresh-packagekit, rhnplugin
There was an error parsing the RHN proxy settings.
RHN support will be disabled.
ftp://192.168.1.100/pub/repodata/repomd.xml: [Errno 14] PYCURL ERROR 7 - ""
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: client. Please verify its path and try again
Also I tried installing many sofwtares, but it fails to correctly work. For example I treid installing dos2unix:

Code:
[root@xilinx Downloads]# rpm -ivh dos2unix-5.3.3-5.ram0.98.src.rpm   
 1:dos2unix               warning: user mockbuild does not exist - using root
 warning: group mockbuild does not exist - using root 
warning: user mockbuild does not exist - using root 
warning: group mockbuild does not exist - using root
 ########################################### [100%] 
[root@xilinx Downloads]#  
[root@xilinx Downloads]# 
 [root@xilinx Downloads]#  
[root@xilinx Downloads]#  
[root@xilinx Downloads]# rpm -ql dos2unix 
package dos2unix is not installed [root@xilinx Downloads]#

Why the package not installing?

I am giving here my repo files content


client.repo

Code:
[client]
name=rhel6.0 yum client 64bit
baseurl=ftp://192.168.1.100/pub
enabled=1
gpgcheck=0

epel.repo
Code:
  

[epel]
name=Extra Packages for Enterprise Linux 6 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch
failovermethod=priority
enabled=1
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-debuginfo]
name=Extra Packages for Enterprise Linux 6 - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debug
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-debug-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0

[epel-source]
name=Extra Packages for Enterprise Linux 6 - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMS
mirrorlist=http://mirrors.fedoraproject.org/metalink?repo=epel-source-6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0

epel-testing

Code:
[epel-testing]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-epel6&arch=$basearch
failovermethod=priority
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6

[epel-testing-debuginfo]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Debug
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/$basearch/debug
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-debug-epel6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0

[epel-testing-source]
name=Extra Packages for Enterprise Linux 6 - Testing - $basearch - Source
#baseurl=http://download.fedoraproject.org/pub/epel/testing/6/SRPMS
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=testing-source-epel6&arch=$basearch
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
gpgcheck=0

pakcagekit-media
Code:
[InstallMedia]
name=Red Hat Enterprise Linux 6.0
mediaid=1285193176.460470
metadata_expire=-1
gpgcheck=0
cost=500

remi
Code:
[remi]
name=Les RPM de remi pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/remi/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/remi/mirror
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-php55]
name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/php55/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/php55/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-test]
name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch
#baseurl=http://rpms.famillecollet.com/enterprise/6/test/$basearch/
mirrorlist=http://rpms.famillecollet.com/enterprise/6/test/mirror
# WARNING: If you enable this repository, you must also enable "remi"
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-debuginfo]
name=Les RPM de remi pour Enterprise Linux 6 - $basearch - debuginfo
baseurl=http://rpms.famillecollet.com/enterprise/6/debug-remi/$basearch/
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-php55-debuginfo]
name=Les RPM de remi de PHP 5.5 pour Enterprise Linux 6 - $basearch - debuginfo
baseurl=http://rpms.famillecollet.com/enterprise/6/debug-php55/$basearch/
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

[remi-test-debuginfo]
name=Les RPM de remi en test pour Enterprise Linux 6 - $basearch - debuginfo
baseurl=http://rpms.famillecollet.com/enterprise/6/debug-test/$basearch/
enabled=0
gpgcheck=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-remi

server
Code:
[server]
name=rhel6.0 yum server 64bit
baseurl=file:///var/ftp/pub
enabled=1
gpgcheck=0

---------- Post updated at 07:41 AM ---------- Previous update was at 04:53 AM ----------

I solved this by making enabled=1 to enabled =0 in client.repo

Last edited by India_2014; 01-25-2014 at 06:57 AM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Spacewalk repodata/repomd.xml [Errno 14] HTTP Error 404 - Not Found

I Configured spacwalk 2.7 and synchronized the channels as the root FS was and the server was unresponsive through gui i deleted the cache in /var/cache/rhn & /var/cache/yum and ran yum clean all on the server as well as spacewalk client i could see the following error Loaded plugins: rhnplugin... (0 Replies)
Discussion started by: James0806
0 Replies

2. SuSE

Repository out of date.

I get this message when attempting to update OpenSUSE 42.2: Error building the cache: Warning: Repository 'Main Update Repository' appears to be outdated. Consider using a different mirror or server. Nothing to do. What's happening? (2 Replies)
Discussion started by: geos0xAA55
2 Replies

3. Red Hat

Repository update

i have a repository server for red hat and centos clients. the repository contain all the rpms from the original install cd. now lets say i will add for example the new BASH rpm that fixes the shellshock vaulnerbility. when the client machine will run the command: "yum update bash" did the yum... (1 Reply)
Discussion started by: guy3145
1 Replies

4. Red Hat

CVS repository connecting error in Linux 5.3

Hi Friends, I configured CVS Repository in RHEL 5.3 Server. But connecting the CVS Repository get the error like. # cvs -d:pserver:cvs@localhost:/backup/cvs/cvsrep login Logging in to :pserver:cvs@localhost:2401/backup/cvs/cvsrep CVS password: cvs : connect to :2401 failed: Connection... (0 Replies)
Discussion started by: srinivas814
0 Replies

5. Solaris

Solaris repository

Someone know good software repositories for Solaris 10? I'm searching one with updated packages like Samba3,smbldaptools,openldap,etc Thanks (2 Replies)
Discussion started by: Linusolaradm1
2 Replies

6. UNIX for Dummies Questions & Answers

What are the BEST Repository for Unix?

Hi Gurus of UNIX, Can you tell me what are the best Repository in Unix: In Internet I found the following: sunfreeware pkg set-authority -O http://pkg.sunfreeware.com:9000 sunfreeware.com The popular sunfreeware collection in the IPS format blastwave pkg set-authority -O... (5 Replies)
Discussion started by: andresguillen
5 Replies

7. UNIX for Dummies Questions & Answers

Problem when I use Repository

Hi Gurus of Unix I use the Package Manager of OpenSolaris I set my Package Manager : "http://pkg.sunfreeware.com:9000/" But when I try to install packet appear the following Error: Please check the network connection. Is the repository accessible? Transfer from... (0 Replies)
Discussion started by: andresguillen
0 Replies

8. Red Hat

build a repository

Hi, i'll explain my problem in few words: i have to create a repository with mrepo on a RH. I see many procedures on internet and even in linux mag, but there isn't any case where the iso and rpm deposit aren't placed on the repository but on a remote system (a NetApp filer in my case). So... (0 Replies)
Discussion started by: nicnictout
0 Replies

9. Solaris

smf repository not running

Hi All, I have a Solaris server which runs version 10 After installing the patch , i thought of doing a recongiuration reboot But it failed saying "smf repository not running" what could be the issue. Thanks J (4 Replies)
Discussion started by: jegaraman
4 Replies

10. UNIX for Dummies Questions & Answers

Repository of HP-UX 10.20 packages

Hello, What the adresses of ftps or websites the packages depots to HP-UX 10.20 I am search and google I did not get success. Thanks :D (1 Reply)
Discussion started by: markos
1 Replies
Login or Register to Ask a Question