YUM problem


Recommended Posts

I set up YUM so that is would go to fresh rpms just like the site told me to, but I get an error message every time I try to download a file or get a list (YUM list)

I've tried this as a normal user and as root.

Link to comment
Share on other sites

yum won't work as normal user.

What was the error?

and how, exactly, did you set up yum?

Link to comment
Share on other sites

[root@localhost grayghost]# yum list
Gathering header information file(s) from server(s)
Server: Yellow Dog Linux 4.0 Base
retrygrab() failed for:
  http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/base/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/base/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found
[root@localhost grayghost]#

That's what I get.

Link to comment
Share on other sites

Well. If you try opening "http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/base" in a browser, it doesn't resolve.

However, trying just http://ftp.yellowdoglinux.com in a browser is redirected to http://distro.ibiblio.org/

Navigating that site, I found what you are looking for is:

"http://distro.ibiblio.org/pub/linux/distributions/yellowdog/yum/4.0/base/headers/header.info"

instead of what you currently have for your yum.conf.

I am almost certain that if you update your yum.conf to that URL instead of the ftp.yellowdoglinux.com one, that your yum will work just fine.

Link to comment
Share on other sites

I did as you said and I got this as a response...

[root@localhost grayghost]# yum list
Gathering header information file(s) from server(s)
Server: Yellow Dog Linux 4.0 Base
retrygrab() failed for:
  http://distro.ibiblio.org/pub/linux/distributions/yellowdog/yum/4.0/base/headers/header.info/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file http://distro.ibiblio.org/pub/linux/distributions/yellowdog/yum/4.0/base/headers/header.info/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

Link to comment
Share on other sites

Oops!

Instead of

"http://distro.ibiblio.org/pub/linux/distributions/yellowdog/yum/4.0/base/headers/header.info/headers/header.info"

use

"http://distro.ibiblio.org/pub/linux/distributions/yellowdog/yum/4.0/base"

as it seems to append the "/headers/header.info" to the end. :pinch:

(you can see it twice in the code quote you posted)

Link to comment
Share on other sites

[root@localhost grayghost]# yum list
Gathering header information file(s) from server(s)
Server: Yellow Dog Linux 4.0 Base
Server: Yellow Dog Linux 4.0 Extras
retrygrab() failed for:
  http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/extras/headers/header.info
  Executing failover method
failover: out of servers to try
Error getting file http://ftp.yellowdoglinux.com/pub/yellowdog/yum/4.0/extras/headers/header.info
[Errno 4] IOError: HTTP Error 404: Not Found

Are there new sites for everything, or did I set something up wrong?

Link to comment
Share on other sites

use apt, it is much faster than yum. Get it here:

http://ftp.freshrpms.net/pub/freshrpms/yellowdog/4.0/apt/

then all you have to do is to add some servers to /etc/apt/sources.list

heres a list of mirrors you can use:

http://distro.ibiblio.org/pub/linux/distri...llowdog/MIRRORS

(a simple search on google will help)

after that u do: "apt-get install synaptic" to get a GUI for apt.

Here's the address of that same site using apt:

http://distro.ibiblio.org/pub/linux/distri...lowdog/apt/3.0/

(see the sources.list file)

Link to comment
Share on other sites

Actually if apt-get (apt4rpm) is available for yellowdog, it isn't a bad choice. I use them interghangeably on my Fedora box.

Back to your repositories, the answer is yes. Every case where your yum.conf file tries to look at ftp.yellowdoglinux.com, you will need to change it to the equivalent ibiblio address. You did "base" already, and now you have "extras" to convert. Not sure if you have any more in there. Perhaps posting your yum.conf would help.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.