James Keeline said:
<snip>

> Given that there are periodic bugfix and security updates to this
> software
> which is critical to our business, I would like to be able to update
> these
> packages from RPMs or SRPMs.
>
> Fedora Core 4 has reasonably recent versions of this software, but I
> don't know
> if the binaries will install on RHEL ES3.  I have seen some message
> board posts
> refer to the SRPMS from the Rawhide distribution.
>
> I have one of the machines set up for experimentation.  However, I
> need a plan
> for the purpose of installing these from RPM or SRPM if it is
> possible.
>
> If I had been asked, I probably would have selected FC4.  However, the
> Dell
> installer discs don't seem to support Fedora for the purpose of
> configuring the
> hardware RAID controller.
>
> I need to figure out which packages to gather.  If they are SRPMs,
> which
> command is used to install them.  I know of the --build option to the
> rpm
> command but I don't use this on a regular basis and would like to get
> it done
> right with a minimum of do-overs. :)
>
> Thanks for any help, lists of packages, HOWTOs, etc. you can provide.


Here's how I would solve the problem. Seek out the srpms for FC4, they
should be available on the CDROM or DVD. Then rebuild them with
rpmbuild --rebuild on the target system. Near the end of the build
process it will tell you where the packages are, usually
/usr/src/redhat/RPMS/ix86

Then you can install the packages with rpm -Uvh from that directory.

If there are build problems, you will have to look to the error
messages to solve them. Usually it's a problem with package names,
which can normally be resolved by judicious editing of the spec file.
It may require you to actually install the srpm, first then use
rpmbuild -bb /usr/src/redhat/SPEC/package.spec to build.

Hope this helps.


-- 
Neil Schneider                              pacneil_at_linuxgeek_dot_net
                                           http://www.paccomp.com
Key fingerprint = 67F0 E493 FCC0 0A8C 769B  8209 32D7 1DB1 8460 C47D
Secrecy, being an instrument of conspiracy, ought never to be the
system of a regular government.
- Jeremy Bentham, jurist and philosopher (1748-1832)

-- 
[email protected]
http://www.kernel-panic.org/cgi-bin/mailman/listinfo/kplug-newbie

Reply via email to