LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   yum update problems (https://www.linuxquestions.org/questions/fedora-35/yum-update-problems-379016/)

jjbuchan 11-01-2005 01:09 PM

yum update problems
 
I know there's other threads on this subject but after reading them I still can't get it to work and I really don't have that great an idea of what I am doing.

Anyway, I was following Stanton Finley's website, but then the up2date thing wouldn't work so I tried typing "yum update all" in the terminal which returns:

Cannot open/read repomd.xml file for repository: dries
failure: repodata/repomd.xml from dries: [Errno 256] No more mirrors to try.


Can someone please help, and remember I'm very new to linux.

Thanks

wkuballa 11-01-2005 01:29 PM

"yum update" is all you need to update all packages. I think yum is trying to find the package "all" if you type "yum update all". It seems that there was a problem with the "dries" repository. I am not familiar with this one. You should do the following:
1. clean up the yum caches with "yum clean all"
2. update all packages in your system with "yum update"
3. if "dries" continues to give you problems, delete or rename the file "/etc/yum.repos.d/dries.repo" so that yum will no longer work with this repository (or change all "enabled=1" to "enabled=0" in this file).

cheers,
Werner

jjbuchan 11-01-2005 01:44 PM

Ok, I did that. Now when I run "yum update" is says:

Setting up Update Process
Setting up repositories
livna 100% |=========================| 951 B 00:00
updates-released 100% |=========================| 951 B 00:00
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.



I was going to try and disable that one, just like the previous, but it isn't in yum.repos.d. Any ideas?

reddazz 11-01-2005 02:21 PM

Quote:

Originally posted by jjbuchan
Ok, I did that. Now when I run "yum update" is says:

Setting up Update Process
Setting up repositories
livna 100% |=========================| 951 B 00:00
updates-released 100% |=========================| 951 B 00:00
Cannot open/read repomd.xml file for repository: core
failure: repodata/repomd.xml from core: [Errno 256] No more mirrors to try.



I was going to try and disable that one, just like the previous, but it isn't in yum.repos.d. Any ideas?

I don;t think you can disable that one because thats where yum gets its updates from. Just keep trying, it could be a problem with the mirrors, but I could be wrong.

jjbuchan 11-01-2005 03:00 PM

I'm not sure what I did but it seems to be working now.

Thanks for your help.

wkuballa 11-02-2005 02:28 PM

I'm happy for you that everything is working. BTW, the name of the repositories that yum reports is defined in the *.repo files. The "core" repository is defined in the FreshRPMS repository. I.e., if you look into the file "freshrpms.repo" you will find the definition of "[core]".

cheers,
Werner


All times are GMT -5. The time now is 07:11 AM.