LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hello,

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.


Code:
$sudo cat /etc/yum.conf
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=3

# 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

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

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

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Hi,

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, 06:19 PM   #3
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 .

Quote:
after removing yum using rpm
you might want to do some readding on the red hat site like read" the user manual "
https://access.redhat.com/knowledge/docs/manuals/
https://access.redhat.com/knowledge/...erprise_Linux/

you use "yum" to install/uninstall rpm's
https://access.redhat.com/kb/docs/DOC-9935
and ONLY use "rpm" to install/uninstall as a VERY LAST resort
 
  


Reply



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 08:15 AM
how to update rhel 5 using centos yum updater without conflict with yum redhat plugin udayvikram Linux - Newbie 1 03-29-2010 12:56 PM
erased yum.conf by forced yum-update in RHEL5.3, need help curiocurio Red Hat 3 04-21-2009 03: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 07:28 AM
Yum Errors in parsing, whats wrong here (yum.conf pasted) thejokker Linux - Newbie 1 06-15-2004 02:28 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:03 PM.

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