I have an 'old' version of Redhat 6.2 and I am trying to upgrade it to Xfree86 4.0 and KDE (insert latest build number here). Xfree86 went on fine but the KDE shell script elicited a bunch of errors from rpm with the text:
"only packages with major numbers <= 3 are supported by this version of RPM..." etc
So I fugured I needed to upgrade RPM itself. I finally got it figured out that you need 5 seperate RPMs to do the upgrade:
rpm-python-4.0.2-8.i386.rpm
rpm-devel-4.0.2-8.i386.rpm
rpm-build-4.0.2-8.i386.rpm
rpm-4.0.2-8.i386.rpm
popt-1.6.2-8.i386.rpm
so I followed the following directions that I found floating aroud the web:
FWIW, the recommended way of upgrading to rpm-4.0 is
a) Get the latest packages (there are 5 sub-packages, see below) from
ftp://ftp.rpm.org/pub/rpm/test
b) Install all of the rpm-4.0 packages together
rpm -Uvh {rpm,popt}-*
c) Immediately do
rpm --rebuilddb
to convert the database format from db1 to db3.
in response rpm gave me 5 messages with the text :
"only packages with major numbers <= 3 are supported by this version of RPM..." etc
Does anyone know how I can get the new RPM files installed?