Click to See Complete Forum and Search --> : How to update RPM?


zdlaser
08-27-2002, 03:45 AM
I install Redhat7.2, the RPM version is rpm-4.0.3-1.03.
need to update RPM.
copy 4 RPM files from Redhat7.3 installation CD.

when I type: rpm -Uvh rpm-4.0.4-7x.18.i386.rpm
report error:failed dependaencies:
popt = 1.6.4 is needed by rpm-4.0.4-7x.18
rpm = 4.0.3 is needed by rpm-python-4.0.3-1.03
...............................................

when I type: rpm -Uvh rpm-4.0.4-7x.18i386.rpm rpm-python-4.0.4-7x.18.i386.rpm gnorpm-0.96-14.i386.rpm popt-1.6.4-7x.18.i386.rpm
report error:failed dependaencies:
popt = 1.6.3 is needed by rpm-4.0.3-1.03
rpm = 4.0.3 is needed by rpm-build-4.0.3-1.03
.......................................

Query: How to update RPM?

rapture
08-27-2002, 04:33 AM
If you ask me, it's really a waste of time to upgrade from 4.0.3 to 4.0.4. There's no real big differences, maybe a few bug fixes here and there but that's about it. However that's not what you wanted to hear so anyways...have you tried looking at rpm.org to see if they have documentation on upgrading rpm??

zdlaser
08-27-2002, 05:48 AM
I am installing OSCAR(an application of Beowulf).
It need to update RPM to 4.0.4.
Because it will fail in old RPM.
I download all update files of Redhat7.2 to update.
The main update is to update RPM.
But I don't know how to update RPM.
There isn't HOW-TO document to install RPM.
HOW TO UPDATE RPM?

mdwatts
08-27-2002, 10:19 AM
Have you tried Redhat's own documentation on their site or their usergroups etc.?

Web searches (Google for Linux) may also find some how-to's on upgrading rpm.

Hayl
08-27-2002, 10:42 AM
why not just download the 7.3 ISOs and run them as an upgrade?

JohnT
08-27-2002, 10:56 AM
Top of the page.
http://rpm.org/

jglen490
08-27-2002, 12:11 PM
It appears that someof the dependencies are resolved by other rpm packages that you are trying to load. Try the "popt" package first, by itself. Sometimes just the load sequence will unravel some of the dependencies.

JohnT
08-27-2002, 12:31 PM
Originally posted by jglen490
It appears that someof the dependencies are resolved by other rpm packages that you are trying to load. Try the "popt" package first, by itself. Sometimes just the load sequence will unravel some of the dependencies.

I second that approach. I used the same method for upgrading to KDE 3.X.