I have an i686 machine and I want to install updates. Which packages shouldHere's what I do.
I install ?: only these for i686 or also others for i586 or i386?
First I get a copy of all the updates -- I maintain a local mirror for all our machines. Then
cd ..../i686 rpm -Fvh *.rpm
This fails :-( but it tells you which packages you need to install in addition to the ones in this directory :-) Usually it's glibc-common and possible glibc-devel, so I then do
rpm -Fvh * ../i386/glibc-common-<tab> ../i386/glibc-devel-<tab>
Where <tab> is me hitting the tab key to get file name completion. You may need to repeat this a few times adding other needed files until the rpm command actually works. Command line editing is a wonderful thing.
Next:
cd .. rpm -Fvh noarch/*.rpm i386/*.rpm
The really important thing here is the -F option which just installs new copies of the RPMs that are already installed.
You can automate all of this with apt or similar and a local archive, but I've never had enough machines to update at any one time to make me want to work out how. One day I will ... Of course, you can also use up2date, but that does rather depend upon having a decent network connection. And there are other archives that you can use apt with, but they have the same network requirement (I think).
jch
jch
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list