kerzner
asked on
How to remove a package and install another one
Hi experts,
I want to install mysql 5. I am on Fedora, so I download and try to "rpm -ihv ...", but it tells me it conflicts with mysql 4.1,
Then I try to "rpm -e mysql", and it tells me it is needed by perl and other such stuff. When in desperation I try to remove perl, it says it is needed by other packages, one of them being mysql.
I seem to be in a vicious circle.
And by the way, Fedora 4 installed mysql does not even work out of the box.
Thank you,
Mark
I want to install mysql 5. I am on Fedora, so I download and try to "rpm -ihv ...", but it tells me it conflicts with mysql 4.1,
Then I try to "rpm -e mysql", and it tells me it is needed by perl and other such stuff. When in desperation I try to remove perl, it says it is needed by other packages, one of them being mysql.
I seem to be in a vicious circle.
And by the way, Fedora 4 installed mysql does not even work out of the box.
Thank you,
Mark
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
try this only if your system is not a production system.
rpm -qa | grep mysql
you will get all the mysql packages from above command
now
rpm -e --nodeps < package name>
this will silently uninstall the packages ignoring the dependencies.
now install all the required mysql 5 rpms.(mysql, mysql-devel, mysql-shared)
best of luck