LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   New to Fedora Core and yum... (https://www.linuxquestions.org/questions/fedora-35/new-to-fedora-core-and-yum-183438/)

wallison 05-19-2004 05:00 PM

New to Fedora Core and yum...
 
I'm normally a Slackware user so I'm not used to dependancy checking. I did a "yum install xboard" and it's now downloading what seems like hundreds of these .hdr files. Am I doing something wrong or is this normal operation?
Thanks

ranger_nemo 05-19-2004 05:22 PM

That's what it should do. HDR files are just header files, which clears everything up, of course! :)

They are files that contain info about the available package; what it is, what version it is, what dependencies it needs, etc.

Unchained 05-19-2004 05:28 PM

That is just how yum works. Below is an explanation from the yum website.

Quote:

How it Works

Every rpm has a header. That header contains a complete file list, package descriptions, lists of what features/libs it provides, lists of what it requires, what it conflicts with etc. In order for rpm to make a decision about what an rpm will need to be installed it needs the information in the header. Fortunately, this is all it needs. Many other updating tools use an index created of that information. They take the important information and send it to the client and use that to determine what should be installed. What Yum does is to copy the header from the rpms on the server (called a repository, just an HTTP or ftp server, nothing fancy or custom), then the client part of yum uses those headers to determine what needs to be installed/upgraded/erased. The benefit of using the rpm header is that yum can then rely on rpm to determine what should happen, because all the information is in a format native to rpm so no custom dependency calculation code is required. Another benefit is that this makes yum quite fast. And finally, by not writing custom dependency code yum keeps from reinventing the wheel and writing a parallel dependency engine to rpm. Rpm does all the hard work.

wallison 05-19-2004 07:37 PM

Appreciate the replies and the link.


All times are GMT -5. The time now is 01:00 AM.