LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-18-2010, 04:23 PM   #1
tawnos42
LQ Newbie
 
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Yum RPMs


I'm looking for a way to find the actual rpm's that yum is using and preferably the location from which they were downloaded. For instance when I do 'yum install httpd' it shows:

httpd-tools-2.2.15-1.fc13_2.2.16-1.fc13.i686.drpm
and
httpd-2.2.16-1.fc13.i686.rpm

These files seem to be kept at /var/cache/yum/i386/13/updates/packages/ but I'd like to either be able to download them without installing or preferably see the location from which they are downloaded. Is there a way to do this?

I want to be able to create a repository for the rpms used for a demonstration of a software install using another software product. I have a 'stock' fedora and redhat virtual machine that I want to be able to replicate and use the product to install rpms on the new clone. So this process of being able to see all of the rpms yum would need to install without actually doing it would be helpful.
 
Old 08-18-2010, 04:56 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Download packages without installing them is the "--downloadonly" Yum switch. You can use "rpm -qp --qf="%{name} %{vendor}\n /path/to/package.rpm" to show you which repo it belongs to. Yum will AFAIK not show the exact URI a file was downloaded from, wouldn't make any sense for Yum (also: "fastestmirror" plugin) or RPM to store that kind of information anyway, but proxying Yum requests may help capture the exact URI.
 
  


Reply



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to use yum localinstall? when I collect my rpms googlez Linux - Newbie 2 08-01-2009 10:37 AM
manually installed rpms not recognized by yum slackamp Red Hat 2 09-10-2008 04:20 AM
How to create YUM repository with my RPMs (not mirror) kepkin Red Hat 2 08-01-2007 02:47 PM
Can YUM be used to installed locally downloaded RPMs? Akhran Linux - Newbie 5 04-01-2006 10:24 AM
using yum to install rpms - how? dingo_aus Linux - Software 9 07-01-2004 08:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:41 PM.

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
Open Source Consulting | Domain Registration