On Tuesday 31 October 2000 12:35 pm, you wrote:
> Hi,
> When I do "rpm -q rpm" the result is:
> rpm-4.0-3mdk
> rpm-3.0.5-27mdk
> Two versions of rpm!!!. This is with a fresh 7.2final with 100% of
> packages selected (the default option if you have enough free space).
>
> If I do a "rpm --version" the result is:
> RPM version 3.0.5
>
> But I'd like the 4.0 version to be the default one. I had a similar
> problem last week after upgrading to 7.2rc. I removed the 3.0.5 and
> everything went too bad.
> What should I do? Should I do a "rpm -e rpm-3.0.5; rpm -ivh --force
> rpm-4.0...; rpm --rebuilddb"?
This is suicide! Been there, done that, didn't like it much. rpm does not
support the concept of the same file name in multiple packages. So, if you
-e rpm-3.0.5, you won't have an rpm executable left to install rpm4!
If you ever need to remove rpm, make absolutely sure you've got a copy of the
rpm executable left lying around so you can use it to re-install the package.
I swiped my rpm binary from another system and used it to install the latest
rpm package.
Cheers,
.../Ed
--
Ed Wilts, Mounds View, MN, USA
mailto:[EMAIL PROTECTED]