I've installed CentOS 5 on an old IBM ThinkPad. Everything went fine until I had to make the wireless network connection work.

After searching Google I realise that I need to install RPM. Unfortunately I downloaded and installed the RPM for CentOS 3 - now when I try to reinstall the correct package for version 5, it says:

File xxx from install of rpmv5 conflicts with the file from package rpmv3

How can I rollback the RPM v3 installation? I've tried rpm -e without any success.

The RPMs can be found at: http://rpmforge.sw.be/redhat/

link|improve this question
Post the full message please. – Ignacio Vazquez-Abrams May 11 '11 at 0:34
feedback

4 Answers

Since you are using CentOS, you may have yum from my knowledge.

I would try the following:

$ su -c 'yum remove packageNameHere'
link|improve this answer
feedback

For CentOS I find it best to use Yum - which, by default, should install the correct version from the CentOS repositories.

If you installed the wrong version using rpm I would also use the rpm command to uninstall it if possible (then try using Yum to install the correct version - if available in centOS repositories).

link|improve this answer
feedback

Look at:

rpm -e --nodeps

or

rpm --force -e
link|improve this answer
feedback

To upgrade the existing package you could try:

rpm -U
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.