LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-12-2012, 12:29 PM   #1
Brandon9000
Member
 
Registered: Apr 2012
Location: Florida
Distribution: Many
Posts: 111

Rep: Reputation: Disabled
Yum check-update


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.
 
Old 04-12-2012, 02:00 PM   #2
jeffrosquad
LQ Newbie
 
Registered: Jan 2012
Posts: 26

Rep: Reputation: Disabled
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.
 
Old 04-12-2012, 02:48 PM   #3
Brandon9000
Member
 
Registered: Apr 2012
Location: Florida
Distribution: Many
Posts: 111

Original Poster
Rep: Reputation: Disabled
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:

[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
#baseurl=http://download.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch

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?
 
Old 04-13-2012, 10:31 AM   #4
jeffrosquad
LQ Newbie
 
Registered: Jan 2012
Posts: 26

Rep: Reputation: Disabled
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".
 
Old 04-13-2012, 10:33 AM   #5
Brandon9000
Member
 
Registered: Apr 2012
Location: Florida
Distribution: Many
Posts: 111

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-13-2012, 02:58 PM   #6
jeffrosquad
LQ Newbie
 
Registered: Jan 2012
Posts: 26

Rep: Reputation: Disabled
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.

http://archives.fedoraproject.org/pu....fc11.i586.rpm

Last edited by jeffrosquad; 04-13-2012 at 03:06 PM.
 
Old 04-13-2012, 02:59 PM   #7
Brandon9000
Member
 
Registered: Apr 2012
Location: Florida
Distribution: Many
Posts: 111

Original Poster
Rep: Reputation: Disabled
True, but if yum knows how to find it, the information must exist somewhere.
 
Old 04-13-2012, 03:17 PM   #8
jeffrosquad
LQ Newbie
 
Registered: Jan 2012
Posts: 26

Rep: Reputation: Disabled
I could be wrong but I believe that data is stored in the repo db you are connected to and not on your machine unless your machine is a yum repo.
 
Old 04-13-2012, 03:29 PM   #9
Brandon9000
Member
 
Registered: Apr 2012
Location: Florida
Distribution: Many
Posts: 111

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-13-2012, 03:39 PM   #10
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2017 CentOS6.9 CentOS7.4 + 50+ other Linux OS, for test only.
Posts: 16,996

Rep: Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443Reputation: 3443
Fedora 11 was moved to the old archive long time ago.
http://archives.fedoraproject.org/pu...6/os/Packages/

A new text for "fedora.repo", example i386
Code:
[fedora11]
name=Fedora11-i386 
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/releases/11/Everything/i386/os/
enabled=1
gpgcheck=1

[fc11-updates]
name=Fedora11-updates-i386
baseurl=http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/11/i386/
enabled=1
gpgcheck=1
.

Last edited by knudfl; 04-13-2012 at 03:41 PM.
 
Old 04-13-2012, 03:42 PM   #11
Brandon9000
Member
 
Registered: Apr 2012
Location: Florida
Distribution: Many
Posts: 111

Original Poster
Rep: Reputation: Disabled
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.
 
Old 04-13-2012, 03:45 PM   #12
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,331

Rep: Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546Reputation: 2546
for the EOL fedora 11 there is basically only one location , though there might still be a few old mirrors still around

the current fedora 16 that is a bit complicated

more than one host are used at a time
a update might pull from 5 or 6 mirrors
or just one
and if "fast mirror" is tossed into the mix ....

but the address for the baseurl is traceable
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
yum update transaction check errors & mirror errors tonycunn Linux - Software 2 11-29-2010 08:16 AM
yum check-update on FC7 returns nothing yumUpdateHelp2008 Linux - Newbie 1 07-23-2008 02:17 PM
yum check-update as normal user misses lots of updates humbletech99 Red Hat 2 05-09-2008 03:16 AM
yum update Transaction Check Error JonBL Linux - Software 21 08-10-2007 10:33 PM
I ran "yum check-update" and chemichael Fedora 10 09-24-2005 10:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration