LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   CRITICAL:yum.cli Config Error yum.conf in RHEL 6.0 (https://www.linuxquestions.org/questions/linux-software-2/critical-yum-cli-config-error-yum-conf-in-rhel-6-0-a-849381/)

chunrima 12-09-2010 05:58 PM

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

crts 12-09-2010 06:15 PM

Hi,

I strongly recommend that you contact REDHAT. Since you are paying for their support they are obliged to tend to this matter.

John VV 12-09-2010 06:19 PM

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


All times are GMT -5. The time now is 10:56 AM.