I have recently installed RH7. Everything went [seemingly] smoothly.
Today, I tried to update a package. I got the message:
only packages with major numbers <= 3 are supported by this version of RPM
So, I did a: rpm -qi rpm
Name : rpm Relocations: (not relocateable)
Version : 3.0.4 Vendor: Red Hat, Inc.
Release : 0.48 Build Date: Wed 01 Mar 2000 02:25:11 PM CST
Install date: Wed 14 Feb 2001 12:08:15 PM CST Build Host: porky.devel.redhat.com
Group : System Environment/Base Source RPM: rpm-3.0.4-0.48.src.rpm
Size : 2923840 License: GPL
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
Summary : The Red Hat package management system.
Then I tried to manually upgrade rpm with: rpm -Uvh rpm-4.0-4.i386.rpm
Unfortunately, this also returned:
only packages with major numbers <= 3 are supported by this version of RPM
error: rpm-4.0-4.i386.rpm cannot be installed
I would have thought rpm v4 would have been installed when I installed the operating system, but that appears not to be the case. So, how do I install the rpm update?
Thanks in advance for your help.