Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Running yum-check-update lists the updates available for packages on my system. If I choose one of those available updates, how can I find the exact URL which yum would use to get it? If that's too hard, how about the approximate URL? The URL available from yum info <package name> is not nearly specific enough. Please don't waste space asking me why I want it.
Yum would get it from your repository that you connect to with your yum.conf file correct? So......where ever your repo is would be the url. If you want to download you can use rpmfind or something like that.
Thanks, however, I happen to know which repo it used, but the URL doesn't really give me the location of the rpm. The relevant entry in my repos file is:
Somehow I have to use part of the URL and add in some aspect of the app to be updated. For example, one typical app might be garmindev.i586 version 0.3.3 release 1.fc11 .
How can I find a URL that points to the rpm package, or at least something close to that?
I am not sure I understand what you are attempting to do. If you want to update a package, you don't have to have the absolute or relative url to do so. If you have the garmindev.i586 version 0.3.3 release 1.fc11 installed, you would just do yum update garmindev and it will go from there. I do notice you have your repo disabled "enabled=0".
I want to know the path that yum will use when it downloads the package. I can give you my reasons, but they are really not interesting or relevant to getting the URL.
I guess one way is to actually go into the repo using https://mirrors.fedoraproject.org from your conf file. Drill down to find your package you are looking for and then you will have the exact url.
I am just wondering how to find the exact URL or an algorithm for finding it. If yum can do it, I should be able to do it. If you're curious, I have no intention of connecting manually, the URL is data I need to report.
That certainly does give me an answer in my specific case, but my software has to be installed in various environments. Can the URL in the repos file be counted on to usually point to the update in question or something close? Somehow yum finds the exact URL very quickly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.