Re: How to get RPMs without up2date?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Never tried your method (though that would be nice, too) but what about using up2date and telling it to download files only, ie: not install them?  The -d flag is for download, and -f to force it, even if you may already have the RPM installed.  I've run it this way manually a few times without problems.
 
Chris
 
 
----- Original Message -----
From: Bob Gorman
Sent: Wednesday, February 18, 2004 9:18 AM
Subject: How to get RPMs without up2date?

I have a RHN account and a subscription to the RHEL3ES channel. I want  to download the available update RPMs via wget on a nightly basis (not using up2date).

My internal R&D machines (various flavors of Linux) are firewalled from external (internet) access.  I have a separate machine that lives on edge of my network that scans for new RPMs on several different sites.  It downloads them and makes them available internally via an NFS mount.

So, since I have an RHN account name and password that can be used for authentication purposes I should be able to use wget to retrieve the RPMs for the channels I am subscribed to under HTTPS.

The goal is to be able to do this automatically (via cron) at night from a server which is not the target machine for the update RPMs.  Something like this:

  wget -c -N https://user:password@xxxxxxxxxxxxxxxxxxxxxxx/download/rhn/private/rhel3-rhdb/i386/RPMS/*.rpm

Can we get this to work?   I can always write a perl/python/php script spider/robot  to traverse the RHN web site and do this work, but I was hoping for a simple, community friendly, mechanism.  What say you?

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux