MariaDB packages don't obsolete MySQL rpms
Bug #857995 reported by
Jascha Lee
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MariaDB |
New
|
Medium
|
Sergei Golubchik |
Bug Description
Since the files contained in the MariaDB rpms conflict with those in the MySQL rpms, this should be reflected in the MariaDB spec files. This will enable yum to handle this at the package level, rather than find out when it tries to install the files.
Ideally, each MariaDB package would "Obsolete" the corresponding MySQL package. This should allow the MariaDB package to be yum/rpm installed on a system with MySQL installed, with yum/rpm automatically removing the MySQL rpm.
This is accomplished by adding an "Obsoletes : " tag to the rpm spec file and listing the package to be replaced in the same way as a "Requires :" tag.
To post a comment you must log in.
Hi!
We do provide the Obsoletes: tag in RPM. Where are you getting this from? mysql, mysql-server, etc. are obsoleted.
Please provide where you got the RPM from and why yum didn't handle it.
Thanks