0

my yum command used to work fine , but now , when I try to use it ,

it gives me an error :

file:///home/user/repo/repodata/repomd.xml: [Errno 14]
 Could not open/read file:///home/user/repo/repodata/repomd.xml

I don't know what to do , please help me.

5
  • Please post the result of ls -l /home/user/repo/repodata/repomd.xml
    – Atropo
    Commented Sep 26, 2013 at 16:17
  • Maybe this question should be migrated to Unix & Linux Commented Sep 26, 2013 at 16:19
  • there is no user folder in my /home @Atropo
    – Alireza Fallah
    Commented Sep 26, 2013 at 16:20
  • @AlirezaFallah change user with your username
    – Atropo
    Commented Sep 26, 2013 at 16:27
  • @Atropo I did , there is also no repo directory under my /home/alireza/ directory
    – Alireza Fallah
    Commented Sep 26, 2013 at 16:33

1 Answer 1

0

If user is to be replaced with your username on the system a fix for this is to edit the file

/home/user/repo/repodata/repomd.xml

Look for:

enabled=1

and change it to

enabled=0

After that do a yum update and it should work fine.

1
  • there is NO such directory in my system , thats my problem
    – Alireza Fallah
    Commented Sep 26, 2013 at 16:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .