[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Download RPM for Redhat, install on Redhat 6.2



Here's a fragment from a config file that I use to bring newly installed
RH6.2 servers up to speed ....  I've applied the patches, over a dozen times
(on brand new, from-CD, installations) and it seems to work reliably.

... however, as this is an OpenLDAP list, we should probably find a Linux
forum to continue this thread if necessary....

# ------------------------------------------------------------------------------
#   upgrades:
#   ---------
#     "^"  ==> upgrade with "rpm -Fvh ..."  (freshen, do not install)
#     "^U" ==> upgrade with "rpm -Uvh ..."  (update, install if not present)
# ------------------------------------------------------------------------------
#
#  RPM must be up-to-date.  RedHat released 3.0.5 in August 2000, and it has
#  been considered a good idea to make sure that this version is available for
#  all patches released after that date.  Then, in March 2000, they updated
#  to 4.0.2.
#
#  Now, just to be safe, we're spend a bit of extra time -- updating to 3.0.5,
#  and then using that version to make sure the installation of 4.0.2 and its
#  prerequisites ('db3' and 'popt') are installed correctly.
#
#  1) Aug-2000 rpm updates
#    rpm             System Environment / Base         rpm-3.0.5-9.6x.i386.rpm
#    rpm-build       Development / Tools              
rpm-build-3.0.5-9.6x.i386.rpm
#    rpm-devel       Development / Libraries          
rpm-devel-3.0.5-9.6x.i386.rpm
#
#  2) Mar-2001 prerequisites
#    tcl             Development / Languages           tcl-8.0.5-35.i386.rpm
#    db3             System Environment / Libraries    db3-3.1.17-4.6x.i386.rpm
#    db3-devel       System Environment / Libraries   
db3-devel-3.1.17-4.6x.i386.rpm
#    db3-utils       Applications / Databases         
db3-utils-3.1.17-4.6x.i386.rpm
#    popt            Development / Libraries           popt-1.6.2-6x.i386.rpm
#     - 'libtcl' is a pre-req for 'db3' (why TCL for a database backend?)
#
#  3) Mar-2001 rpm updates
#    rpm             System Environment / Base         rpm-4.0.2-6x.i386.rpm
#    rpm-build       Development / Tools              
rpm-build-4.0.2-6x.i386.rpm
#    rpm-devel       Development / Libraries          
rpm-devel-4.0.2-6x.i386.rpm
# ------------------------------------------------------------------------------
^  rpm-3.0.5-9.6x.i386.rpm rpm-build-3.0.5-9.6x.i386.rpm
rpm-devel-3.0.5-9.6x.i386.rpm
^U tcl-8.0.5-35.i386.rpm
^U db3-3.1.17-4.6x.i386.rpm db3-devel-3.1.17-4.6x.i386.rpm
db3-utils-3.1.17-4.6x.i386.rpm
^  popt-1.6.2-6x.i386.rpm
^  rpm-4.0.2-6x.i386.rpm rpm-build-4.0.2-6x.i386.rpm rpm-devel-4.0.2-6x.i386.rpm



Peter W wrote:
> 
> On Fri, Aug 17, 2001 at 10:54:09AM -0500, Thomas Klettke wrote:
> > RedHat 6.2 uses an older version of RPM (RedhatPackageManager). To find your
> > version, run "rpm -v", I guess you'll have 3.x. Packages created with a
> > newer version of RPM can only be installed with the newer version.
> 
> There is a version of RPM 3.x for Red Hat 6.2 that can handle RPM 4 format
> files. I would recoomend you check the Red Hat updates site and make sure
> you have the latest version of rpm for RH 6.2 before doing anything else
> that requires more work.
> 
> > You can try to upgrade to a newer version of RPM (4.0.2 as of RH7.1), or
> 
> I have heard nothing good about the RPM 3 -> RPM 4 upgrade process. Folks I
> respect are advising against it.
> 
> > else you'll probably have to build openldap from the sources
> 
> which may be a good idea
> 
> -Peter
> 
> > -----Original Message-----
> 
> > Hi, all:
> >
> > I downlaod OpenLDAP 2.0.11 openldap-server RPM package
> > from Redhat site and try to install it on Redhat 6.2,
> > I got following error:
> >
> > [root@swlinux /tmp]# rpm -i openldap-2.0.11-8.i386.rpm
> >
> > only packages with major numbers <= 3 are supported by
> > this version of RPM
> > error: openldap-2.0.11-8.i386.rpm cannot be installed

-- 

- Don Buchholz                               <don@truedisk.com>
- TrueDisk, 7431 NW Evergreen Pkwy - #110, Hillsboro, OR  97124
- voice: 503/615-0888 x266                    FAX: 503/693-0873