[Yum] Using yum to update rpms without installation

seth vidal skvidal at phy.duke.edu
Tue Mar 9 21:13:33 UTC 2004


On Tue, 2004-03-09 at 14:56 -0600, Josh More wrote:

> I am looking for a tool to keep disk-only respositories in sync
> with what is on the net.  I am making a single-disc linux distro
> based off FC1, and would like to be able to include packages that
> they do not.  Ideally, I would have a structure as follows:
> 
> ~build/new_linux
> ~build/repositories/fedora
> ~build/repositories/freshrpms
> ~build/repositories/atrpms
> ~build/repositories/newrpms
> etc.
> 
> Where I would have a list of what packages should be kept up to date
> in the repositories.  Then I would like to use yum to keep the 
> directories in sync with the rest of the net.  I could then merge
> the RPMs together that I wanted, and generate an ISO containing 
> those RPMs, to simplify installation and updating.
> 
> However, glancing through the yum man page, I do not see a way
> to download, but not install, an rpm.  Is there a way to do this,
> or should I work on extending yum?  
> 
> Apologies if this has been asked before.  I did not see a way to 
> search the list.
> 

look at the latest daily releases --download-only should be there, to be
honest I don't think the functionality you describe is really what --
download-only does, moreover I'm not sure if it belongs in yum. I think
it would be perfectly reasonable to have a short script that reads a set
of yum repositories and returns to you the newest packages (keyed on
name, arch) from that set.

It's probably 2 hours of work at most.

-sv





More information about the Yum mailing list