keeping up2date from going to rhn

Stuart Sears stuart at sjsears.com
Fri Feb 25 17:47:41 UTC 2005


On Fri, 2005-02-25 at 11:29 -0500, Blackburn, Marvin wrote:
> I have several systems that are very similar in configuration.
> I have downloaded the rpm's and headers into a tmpdir.
> 
> Is there anyway I can run up2date against this tmpdir
> without having it go out to rhn and looking for "newer" packages.
possibly by setting it up as a local yum repository and editing 
/etc/sysconfig/rhn/sources
to point at it?

if it is just package downloads you want to avoid, you can
up2date -u -k /tmp/dir:/other/tmp/dir
to tell up2date to look in those directories for package files
> 
> What I want to do is build a static depot to go against, and 
> upgrade my 5 systems over the next month, without worrying about newer
> packages that may come out.
you could also just cd to the relevant directory and...
rpm -ivh kernel-2... (for the *latest* kernel you have there)
rpm -Fvh *.rpm (to install the relevant updates from all the remaining
packages)

Stuart




More information about the redhat-list mailing list