[lug] newbie - packages & openssh

D. Stimits stimits at idcomm.com
Wed May 23 10:46:55 MDT 2001


Anne George wrote:
> 
> > Hi,
> > I ran into a snag with the rpm-build package.  The one that came with my
> > machine is 3.0.48, but I need the latest version to complete the OpenSSH
> > installation.
> > I tried to install the latest without uninstalling 3.0.48, but I keep
> > getting message
> > that I need 3.0.5, etc.

I assume it is rpm tool itself which you are talking about version
numbers? For RH 6.2, you need rpm version 4.0.2-6x. There are a few
packages that work together so you may have to update more than one
thing for it to work right (I'm pasting a redhat announcement at the end
that gives the info), such as rpm-python, rpm-build, popt, and
rpm-devel. The ftp site that you want is (the announcement pasted at
bottom gives the right file names but does not reflect the rearrangement
of directories that the ftp site now uses...also I assume you are using
ordinary x86 hardware so I only mention the i386 versions):
ftp://updates.redhat.com/6.2/en/os/i386/

Be sure you read the full info on updating rpm tool before you actually
do so, since it could cause some pain if rpm is not installed right.

D. Stimits, stimits at idcomm.com

> >
> > Do I need to incrementally install every version from 3.0.48 - 3.0.9.x, or
> > can I just uninstall 3.0.48 and install 3.0.9.xx?
> > My machine is RH6.2.
> >
> > Trying to Load:
> > openssh-server-2.5.2p2-2.i386.rpm -
> > Error: "only packages with major numbers <= 3 are supported by this
> > version
> > of rpm
> > Package Loaded: rpm-build - 3.0.5-9.6x
> > Loaded:
> > openssh 2.5.2p2-1
> > Loaded:
> > openssl 0.9.5a-1
> >
> > Thanks very much!
> >
> >
> > Anne
> > ageorge at goldsys.com
> >
> >


Subject: 
          [RHEA-2001:016-04] rpm-4.0.2 for all Red Hat platforms and
releases.
     Date: 
          Wed, 21 Mar 2001 14:52 -0500
    From: 
          redhat-announce-list-admin at redhat.com
 Reply-To: 
          redhat-announce-list at redhat.com
      To: 
          redhat-watch-list at redhat.com




---------------------------------------------------------------------
                   Red Hat, Inc. Red Hat Enhancement Advisory

Synopsis:          rpm-4.0.2 for all Red Hat platforms and releases.
Advisory ID:       RHEA-2001:016-04
Issue date:        2001-02-19
Updated on:        2001-03-21
Product:           Red Hat Linux
Keywords:          rpm
Cross references:  
Obsoletes:         
---------------------------------------------------------------------

1. Topic:

[ Correction for the previously released errata for rpm, which should
have
been an Enhancement, not a security, errata]

A common version of rpm for all Red Hat distributions is being released.
This version of rpm understands legacy version 3 packaging used in Red
Hat 6.x/5.x distributions as well as version 4 packaging used in Red Hat
7.x.
In addition, rpm-4.0.2 has support for both the legacy db1 format used
in
Red Hat 6.x/5.x databases as well as support for the db3 format database
used in Red Hat 7.x

2. Relevant releases/architectures:

Red Hat Linux 5.2 - alpha, i386, sparc

Red Hat Linux 6.2 - alpha, i386, sparc

Red Hat Linux 7.0 - alpha, i386

3. Problem description:

Several potential problems

1) Red Hat 6.x/5.x users will need to install the db3 packages from
    RHEA-2001:015-09.

2) Red Hat 5.x users should note that the default compiler flags in rpm
    have changed, and are not compatible with the gcc originally shipped
    with Red Hat 5.2. Use egcs as a compiler instead.

3) Red Hat 6.x/5.x users should convert from db1 to db3 format dtabases
at
    your earliest convience. This can be done by running, as root, the
    command
        rpm --rebuilddb
    Support for legacy db1 format rpm databases will be removed in the
next
    release of rpm.

4) All platforms: If you chose to install rpm-4.0.2, and then go back to
a
    previous version of rpm, then you will experience segfaults due to
an
    incompatible change in headers in the database. The problem is in
    legacy versions of rpm going back to rpm-3.0, and is both caused and
    fixed by rpm-4.0.2. This incompatibility also applies to any/all
    applications that are statically linked against rpm libraries which
    should either be upgraded or recompiled to use rpm-4.0.2 libraries.
    Applications that use shared libraries should not be affected by
this
    problem.

5) All platforms: rpm-4.0.2 will fail to install if you have both db1
and
    db3 rpm databases in /var/lib/rpm. If the packages do not install,
    please check the directory /var/lib/rpm for the files "packages.rpm"
    (the db1 format headers) and "Packages" (the db3 format headers)
    and rename/remove the older or smaller of the two files in order to 
    upgrade.

4. Solution:

To update all RPMs for your particular architecture, run:

rpm -Fvh <filenames>

where <filenames> is a list of the RPMs you wish to upgrade.  Only those
RPMs which are currently installed will be updated.  Those RPMs which
are
not installed but included in the list will not be updated.  Note that
you
can also use wildcards (*.rpm) if your current directly *only* contains
the
desired RPMs.

Please note that this update is also available via Red Hat Network. 
Many
people find this an easier way to apply updates.  To use Red Hat
Network,
launch the Red Hat Update Agent with the following command:

up2date

This will start an interactive process that will result in the
appropriate
RPMs being upgraded on your system.

5. Bug IDs fixed (http://bugzilla.redhat.com/bugzilla for more info):



6. RPMs required:

Red Hat Linux 6.2:

i386:
ftp://updates.redhat.com/6.2/i386/rpm-4.0.2-6x.i386.rpm
ftp://updates.redhat.com/6.2/i386/rpm-devel-4.0.2-6x.i386.rpm
ftp://updates.redhat.com/6.2/i386/rpm-build-4.0.2-6x.i386.rpm
ftp://updates.redhat.com/6.2/i386/popt-1.6.2-6x.i386.rpm



More information about the LUG mailing list