LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   add or remove program says - unable to start due to a cofiguration error (https://www.linuxquestions.org/questions/linux-software-2/add-or-remove-program-says-unable-to-start-due-to-a-cofiguration-error-523398/)

sampoo 01-27-2007 11:47 PM

add or remove program says - unable to start due to a cofiguration error
 
add or remove program says - unable to start due to a cofiguration error

and in terminal it shows

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


please help me, I am very new to linux

b0uncer 01-28-2007 04:48 AM

This page (the very bottom of it) might give some ideas (it's for Core 5, I take it that you are using Fedora Core though you didn't mention it, but it could work for you too):

fedoraforum.org/forum/archive/index.php/t-80879.html

Basically:
1) check if your conf file exists:
Code:

ls /etc/yum.conf
if you get file listed, it's there -- if you don't get, it's missing

2) if the file was missing: check if backup exists:
Code:

ls /etc/yum.conf~
if it doesn't exist, jump to 3); otherwise try first to (su -- become root, asks for your root password)
Code:

su
cp /etc/yum.conf~ /etc/yum.conf

and after this re-try running the update tool

3) if no backup exists or if the above step didn't work, your file might be corrupt. The link I provided has information about how you deal with this problem: basically you remove the config file and then download a new one (from Fedora).


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