Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
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
 
Installing update 4 for RHEL ES 3

Installing update 4 for RHEL ES 3

2006-09-27       - By Leinweber, James

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

Daniel Lyttle:
>     I currently have RHEL ES 3 with updates 3 and I
> need to install update 4 only as the software has only been
> tested with  update 4...

Jon Stanley:
> To be a little more specific, you can download the ISO's, and
> then copy the RedHat/RPMS directory somewhere, and run an rpm
> -Fvh against all of those RPM's.  It will only update those
> RPM's that are currently installed...

The make-your-own-yum-repository option described elsewhere
in this thread sounds intriguing; I might try that.  In the
past when I've used Jon's "rpm -Fvh" option with good results,
there are the following points I'd augment his advice with.

Obviously, you don't have to burn the ISO images to CD's, you
can pull out the RPM files via a loopback mounts:

  for f in 1 2 3 4; do
    mkdir $f
    sudo mount -t iso9660 -r -o loop rhel-3 (See http://hel-3.ora-code.com)-u4-i386-?s-disc$f.iso $f
  done
  for d in ?/RedHat/RPMS; do
     pushd $d
     cp -a *.rpm /some/where/handy
     popd
  done

If I'm fiddling with multiple machines, I usually like to keep the
original RPM files around, so I make a link directory to do updates
from:

  cd /some/where/handy
  mkdir ../foo; ln *.rpm ../foo
  cd ../foo

Typically during an update RedHat may have changed rpm, up2date, and
dependency information about the packages.  So just running "rpm -Fvh *"
doesn't work out well for me.  What has is:

1) take care of the rpm stuff first
  rpm -Uvh rpm*rpm
  rm rpm*rpm

2) handle kernels separately, since you want "rpm -i", not "rpm -F"
on those.  I like to keep old kernels for about a month before
removing them, in case I run into stability or boot problems with
the new ones.  So next you install any kernel ancillary packages,
plus your appropriate new kernel:

  ls kern*
  rpm -Fvh kernel-util* ...  # do the non-kernel rpm's
  rpm -ivh kernel-smp-2 (See http://smp-2.ora-code.com).4.21-*.EL.i686.rpm  # or whatever
  rm kern*

3) Now you can pretty safely do Jon's
  rpm -Fvh *rpm

and have good odds that it will work.  You may run into some
dependency issues; a few rounds of either
  rpm -e
or
  rpm -Uvh
on the offending packages will generally straighten those out.
Also, a few packages such as glibc and openssl tend to come
in architecture specific versions, such as i386, i686, or athlon.
rpm will generally pick the best one for your system, but you
are likely to get warnings about "adding" packages which you
already selected again as it stumbles across the different
variants.  It's pretty safe to ignore those warnings.

This doesn't address this issue of what to do with post-U4 but
pre-U5 updates, or how to safely run an update 4 system without
the subsequent security patches, but that's not the immediate
issue.

-- Jim Leinweber
State Laboratory of Hygiene, University of Wisconsin - Madison
<jiml@(protected)> 2811 Agriculture DR; phone +1 608 221 6281
PGP fp: 2E36 47BC DB03 57CE 86AD  19CC 41A1 9179   5C6B C8B9




--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list