I'm gonna ask a dumb question here, but this script assumes that I have
NFS support either built-in or as a module, correct?
On Sun, 24 May 1998, Riley Williams wrote:
> Hi there.
> >> Looking for some help from the Red Hat users on this list (or
> >> knowledgable others). I've tried a couple of times before to
> >> upgrade my existing RH 5.0 system to one of the test kernels, but
> >> I usually end up screwing up one thing or another. I have read the
> >> documentation, and I've tried to upgrade almost of the packages
> >> necessary as listed by the minimum version numbers in the
> >> documentation.
> >> If anyone is currently running RH 5.0, and has successfully gotten
> >> to the point of running a test kernel, I would like to discuss the
> >> steps that you took to get to that point.
> In my case, here's the procedure I used to update to the latest of
> everything...I use the RedHat mirror on SunSite.doc.ic.ac.uk but the
> following should also work with RedHat's own site...
> Q> #!/bin/bash
> Q> mkdir /redhat
> Q> mount -t nfs -o ro,soft,rsize=8192,wsize=8192 \
> Q> 188.8.131.52:/public/Mirrors/ftp.redhat.com/ /redhat
> Q> cd /redhat/pub/redhat/current/updates/i386
> Q> for Z in *.i386.rpm ; do
> Q> X=`echo $Z | sed 's/-[0-9]*\./ /' | cut -d ' ' -f 1`
> Q> Y=`rpm -q $X 2> /dev/null`
> Q> if [ "$Y" != '' ]; then
> Q> if [ $Y.i386.rpm != $Z ]; then
> Q> echo "Updating $Y.i386.rpm to $Z" >&2
> Q> rpm -Uvh $Z
> Q> fi
> Q> fi
> Q> done
> Q> cd /
> Q> umount /redhat
> Q> rmdir /redhat
> The result of the above sequence is that ALL of your currently
> installed RedHat-supplied RPM's are updated to the latest versions,
> thus reducing the problems caused by old versions...
> Best wishes from Riley.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to email@example.com