LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   (Error: Cannot open/read repomd.xml file for repository: tejas-barot-vlc ) in yum (https://www.linuxquestions.org/questions/linux-server-73/error-cannot-open-read-repomd-xml-file-for-repository-tejas-barot-vlc-in-yum-921985/)

greenworld 01-04-2012 07:25 AM

(Error: Cannot open/read repomd.xml file for repository: tejas-barot-vlc ) in yum
 
Hi,

Have error in yum update. When i update yum displaying some errors , How to solve this issue, i hopeful and waiting for your reply,


[root@localhost]# yum update

Loading "rhnplugin" plugin
Loading "security" plugin
Loading "installonlyn" plugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Update Process
Setting up repositories
http://mirror.centos.org/centos-6/6....ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot open/read repomd.xml file for repository: tejas-barot-vlc

[root@localhost]#

Thank you,

deep27ak 01-04-2012 07:31 AM

Are you connected to internet?
this happened after you did some changes or you are initially trying to configure yum?

post your repo file
Code:

#cat /etc/yum.repos.d/xx.repo

greenworld 01-04-2012 11:17 PM

(Error: Cannot open/read repomd.xml file for repository: tejas-barot-vlc ) in yum
 
Hi,

yes, I connecting internet But this same problem came again, i did not rectify this issue, Please any one can help me?
(i installed Linux Redhat 5)

Thank you,

deep27ak 01-04-2012 11:29 PM

simply posting your problem won't help you

I asked you for your repo file?

greenworld 01-05-2012 03:58 AM

(Error: Cannot open/read repomd.xml file for repository: tejas-barot-vlc ) in yum Reply to Thread
 
Hi,

Sorry for confuse my questions, in
#/etc/yum.repos.d/
#ls

adobe-linux-i386.repo avrc6-tejas-barot-linux.repo mirrors-rpmforge mirrors-rpmforge-extras mirrors-rpmforge-testing rhel-debuginfo.repo rpmforge.repo

These kind of files having in yum.repos.d directory, now what ill do?

Shall change any files or upload.

Thank you,

deep27ak 01-05-2012 04:06 AM

Code:

#cat adobe-linux-i386.repo
#cat avrc6-tejas-barot-linux.repo

#cat rhel-debuginfo.repo
#cat rpmforge.repo


greenworld 01-05-2012 10:57 PM

Hi,

First off thank you for your response, i added 4 .repo file Please update and solve my issues


#cat adobe-linux-i386.repo

[adobe-linux-i386]
name=Adobe Systems Incorporated
baseurl=http://linuxdownload.adobe.com/linux/i386/
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#cat avrc6-tejas-barot-linux.repo

########################################################################
#
# Name: Repository to Install VLC Player on RHEL/CentOS 6 - tejasbarot
# Below links provided by mirror.centos.org
#
# Repo file created by Tejas Barot to make VLC Installation more easy
# Linux Blog :- www.tejasbarot.com
# Linux Quotes :- linux-quotes.tejasbarot.com
# Open Source :- opensource.tejasbarot.com
#
# If you want to request any howto which you want to perform or you want
# to write article for www.tejasbarot.com then please send me mail
# on blog(at)tejasbarot(dot)com
#
########################################################################
[tejas-barot-vlc]
name=CentOS Repository for VLC Installation
baseurl=http://mirror.centos.org/centos-6/6.0/os/i386/
enabled=1
gpgcheck=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

#cat rhel-debuginfo.repo

[rhel-debuginfo]
name=Red Hat Enterprise Linux $releasever - $basearch - Debug
baseurl=ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#cat rpmforge.repo

baseurl = http://apt.sw.be/redhat/el5/en/$basearch/rpmforge
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge
enabled = 1
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-extras]
name = RHEL $releasever - RPMforge.net - extras
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/extras
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-extras
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-extras
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

[rpmforge-testing]
name = RHEL $releasever - RPMforge.net - testing
baseurl = http://apt.sw.be/redhat/el5/en/$basearch/testing
mirrorlist = http://apt.sw.be/redhat/el5/en/mirrors-rpmforge-testing
#mirrorlist = file:///etc/yum.repos.d/mirrors-rpmforge-testing
enabled = 0
protect = 0
gpgkey = file:///etc/pki/rpm-gpg/RPM-GPG-KEY-rpmforge-dag
gpgcheck = 1

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Thank you,

deep27ak 01-05-2012 11:17 PM

Quote:

Originally Posted by greenworld (Post 4567575)
#cat avrc6-tejas-barot-linux.repo

########################################################################
#
# Name: Repository to Install VLC Player on RHEL/CentOS 6 - tejasbarot
# Below links provided by mirror.centos.org
#
# Repo file created by Tejas Barot to make VLC Installation more easy
# Linux Blog :- www.tejasbarot.com
# Linux Quotes :- linux-quotes.tejasbarot.com
# Open Source :- opensource.tejasbarot.com
#
# If you want to request any howto which you want to perform or you want
# to write article for www.tejasbarot.com then please send me mail
# on blog(at)tejasbarot(dot)com
#
########################################################################
[tejas-barot-vlc]
name=CentOS Repository for VLC Installation
baseurl=http://mirror.centos.org/centos-6/6.0/os/i386/
enabled=1 <---------enabled=0
gpgcheck=0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Code:

[tejas-barot-vlc]
name=CentOS Repository for VLC Installation
baseurl=http://mirror.centos.org/centos-6/6.0/os/i386/
enabled=0
gpgcheck=0


and try
Code:

#yum clean all
#yum update


greenworld 01-05-2012 11:35 PM

Hi,

Thank you for your correct answers, Its WORKING.............


Thank you

deep27ak 01-05-2012 11:44 PM

In that case you should mark the thread as "solved"

John VV 01-05-2012 11:47 PM

Quote:

This system is not registered with RHN.
RHN support will be disabled.
there is the real problem

you did not pay for red hat
you did not buy the required support contract .

buy the license!!!

deep27ak 01-05-2012 11:59 PM

Quote:

Originally Posted by John VV (Post 4567602)
there is the real problem

you did not pay for red hat
you did not buy the required support contract .

buy the license!!!

Sorry sir, no offense but I think that particular mirror is not working or his OS is not able to resolve the mirror.
this is the reason all other mirrors are working fine instead of the one returning with error.

With RHN support we can get regular updates but by default we have default packages available freely on internet by REDHAT

as the one which I use is
ftp://ftp.redhat.com/redhat/linux/en...386/Debuginfo/
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/$releasever/en/os/$basearch/Debuginfo/

but for getting regular updates we need to register our OS


All times are GMT -5. The time now is 08:48 AM.