Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-09-2010, 06:58 PM   #1
LQ Newbie
Registered: Dec 2010
Posts: 1

Rep: Reputation: 0
CRITICAL:yum.cli Config Error yum.conf in RHEL 6.0


Recently, I have completed fresh installation of RedHat Linux Enterprise Server Version 6.0.

A couple of days later, suddenly, yum stops working. It used worked well last a couple of days.

Although I reinstalled yum and all dependencies after removing yum using rpm, still won't work.

I don't have any clue what causes this problem.

Here are yum.conf file and results I got.
Thanks in advance.

$sudo cat /etc/yum.conf

# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m

# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d

$sudo yum
CRITICAL:yum.cli:Config Error: Error accessing file for config file:///etc/yum.conf

Last edited by chunrima; 12-09-2010 at 07:10 PM.
Old 12-09-2010, 07:15 PM   #2
Senior Member
Registered: Jan 2010
Posts: 1,783

Rep: Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564Reputation: 564

I strongly recommend that you contact REDHAT. Since you are paying for their support they are obliged to tend to this matter.
Old 12-09-2010, 07:19 PM   #3
John VV
LQ Muse
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,455

Rep: Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601Reputation: 2601
from the look it looks like you are using the dvd to install things

i take it you did NOT buy the mandatory license from red hat

RHEL is "?free"? sort of to sort of use . but you can not get any updates or new software if you do not buy the license .

after removing yum using rpm
you might want to do some readding on the red hat site like read" the user manual "

you use "yum" to install/uninstall rpm's
and ONLY use "rpm" to install/uninstall as a VERY LAST resort


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Software 2 03-30-2010 09:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 01:56 PM
erased yum.conf by forced yum-update in RHEL5.3, need help curiocurio Red Hat 3 04-21-2009 04:33 AM
yum.conf - extract files from a DVD. How define repo location and what is yum command emuub Linux - Software 2 06-17-2007 08:28 AM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 03:28 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration