Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
How to get RPMs without up2date?

How to get RPMs without up2date?

2004-02-18       - By Chris

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

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@(protected)/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?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN " >
<HTML > <HEAD >
<META http-equiv=Content-Type content= "text/html; charset=iso-8859-1 " >
<META content= "MSHTML 6.00.2800.1400 " name=GENERATOR >
<STYLE > </STYLE >
</HEAD >
<BODY bgColor=#ffffff >
<DIV > <FONT size=2 >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. </FONT > </DIV >
<DIV > <FONT size=2 > </FONT >  </DIV >
<DIV > <FONT size=2 >Chris </FONT > </DIV >
<DIV > <FONT size=2 > </FONT >  </DIV >
<DIV > <FONT size=2 > </FONT >  </DIV >
<BLOCKQUOTE
style= "PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px " >
<DIV style= "FONT: 10pt arial " >-- -- Original Message -- -- </DIV >
<DIV
style= "BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black " > <B >From: </B >
<A title=bob@(protected) href= "mailto:bob@(protected) " >Bob Gorman </A > </DIV >
<DIV style= "FONT: 10pt arial " > <B >Sent: </B > Wednesday, February 18, 2004 9:18
AM </DIV >
<DIV style= "FONT: 10pt arial " > <B >Subject: </B > How to get RPMs without
up2date? </DIV >
<DIV > <FONT size=2 > </FONT > <FONT size=2 > </FONT > <FONT
size=2 > </FONT > <BR > </DIV > <FONT face=verdana size=2 >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). <BR > <BR >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. <BR > <BR >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. <BR > <BR >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: <BR > <BR >  wget -c -N <A
href= "https://user:password@(protected)/download/rhn/private/rhel3-rhdb/i386/RPMS/*.rpm "
eudora= "autourl " >https://user:password@(protected)/download/rhn/private/rhel3-rhdb/i386/RPMS/*.rpm <BR > <BR > </A >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? </FONT > </BLOCKQUOTE > </BODY > </HTML >