I wish to remove a package, so I do the following:
[root@centosBox src]# rpm -e mysql-libs
error: Failed dependencies:
libmysqlclient.so.16()(64bit) is needed by (installed) postfix-2:2.6.6-2.2.el6_1.x86_64
libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by (installed) postfix-2:2.6.6-2.2.el6_1.x86_64
mysql-libs is needed by (installed) postfix-2:2.6.6-2.2.el6_1.x86_64
To get around it, I know I can use the --nodeps option, but is this too heavyhanded and not good practice? Is there a better way?
PS. The reason I am doing this is that I wish to install a new version of MySQL, but keep getting:
file /usr/share/mysql/czech/errmsg.sys from install of MySQL-server-5.6.12-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.69-1.el6_4.x86_64
Maybe I can just update the lib instead of removing it?