System: centos6.4 64 minimal
Install mysql version 5.7.19
RPM - qa | grep mysql
RPM -e mysql - libs - 5.1.66-2. El6_3. X86_64
The results
error: Failed dependencies:
Libmysqlclient. So. (16) (64 -) is men by (installed) postfix - 2-2. 6.6-2.2. El6_1. X86_64
16 (libmysqlclient_16 libmysqlclient. So.) (64 -) is men by (installed) postfix - 2-2. 6.6-2.2. El6_1. X86_64
Mysql - libs is men by (installed) postfix - 2-2. 6.6-2.2. El6_1. X86_64
Excuse me, how to do?
If forced to delete
RPM -e -- nodeps mysql - libs - 5.1.66-2. El6_3. X86_64
The results can be deleted
Then install mysql RPM package
RPM - the ivh mysql - community - common - 5.7.19-1 RPM el6. X86_64.
RPM - the ivh mysql - community - libs - 5.7.19-1 RPM el6. X86_64.
The RPM - the ivh mysql - community - the client - 5.7.19-1. El6. X86_64. RPM
Results the three statements normal installation
But the installation
RPM -- the ivh mysql community server - 5.7.19-1. El6. X86_64. RPM
In the following the results
warning: mysql - community - server - 5.7.19-1. El6. X86_64. RPM: Header V3 DSA/SHA1 Signature, key ID 5072 e1f5: NOKEY
Error: Failed dependencies:
Libaio. So. (1) (64 -) is men by mysql - community - server - 5.7.19-1. El6. X86_64
Libaio. So. 1 (LIBAIO_0. 1) (64 -) is men by mysql - community - server - 5.7.19-1. El6. X86_64
Libaio. So. 1 (LIBAIO_0. 4) (64 -) is men by mysql - community - server - 5.7.19-1. El6. X86_64
Libnuma. So. (1) (64 -) is men by mysql - community - server - 5.7.19-1. El6. X86_64
Libnuma. So. 1 (libnuma_1. 1) (64 -) is men by mysql - community - server - 5.7.19-1. El6. X86_64
Libnuma. So. 1 (libnuma_1. 2) (64 -) is men by mysql - community - server - 5.7.19-1. El6. X86_64
could you tell me how to solve? Search for a long time did not find a good solution
CodePudding user response:
Cannot delete with RPM -e -- nodeps, make sure the previous version are removed to installCodePudding user response: