[rhn-users] Updating with RPM.

Manuela Lo Bosco lin77sys at yahoo.it
Thu Oct 14 08:22:33 UTC 2004


Some days ago I posted a message where I asked for a procedure to automatically update a linux server without a connection to internet (for example homed in the DMZ) etc. 
Well, unfortunately I didn't find any solution or tool excpet up2date for the machine used to interface RedHat Network. So I used a USB memory card (a CD may be used too) to store all the RPMs and a shell script to do automatically the updates on the others servers. 
 
The commands I used are:
# Import the key to verify RPM if it is not present
rpm --import RPM-GPG-KEY
 
# First update RPM resolving dependencies
 
rpm -Fvh glibc-devel*.rpm nptl-devel-2.3.2-95*.rpm
rpm -Uvh elfutils-0.94*.rpm elfutils-devel*.rpm elfutils-libelf*.rpm
rpm -Uvh bind*.rpm
rpm -Fvh httpd*.rpm mod_ssl-2.0.46-4*.rpm
rpm -Fvh mozilla*.rpm
rpm -Uvh popt*.rpm rpm*.rpm
rpm -Fvh samba*.rpm
rpm -Fvh kdebase*.rpm kdelibs*.rpm
rpm -Fvh XFree*.rpm
rpm -Fvh cyrus*.rpm
rpm -Fvh chkconfig*.rpm ntsysv*.rpm
rpm -Fvh krb*.rpm
rpm -Fvh gcc-*.rpm cpp*.rpm libgcc*.rpm lib*.rpm
rpm -Uvh laus-libs*.rpm
rpm -Fvh glibc-2*.rpm glibc-common*.rpm glibc-utils*.rpm shadow-utils*.rpm laus*.rpm
 
Then I write a loop which exec RPM -Fvh for each RPM present in the USB card. If I found some error dependency I will update the instruction list above.
 
Perhaps it may be banal, however I posted hoping you will find it useful.
 
Bye.


				
---------------------------------
Nuovo Yahoo! Messenger E' molto più divertente: Audibles, Avatar, Webcam, Giochi, Rubrica
 Scaricalo ora! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/rhn-users/attachments/20041014/b6d049f1/attachment.htm>


More information about the rhn-users mailing list