Tag Archives: MySQL installation

Linux encountered a problem when installing RPM package error:Failed dependencies Solution method

Environment: CentOS 7.2 + mysql-server-5.5.31-2.el6.i686.rpm

Problems encountered:

[ root@sh158-xen data]#rpm -ivh MySQL-server-5.5.31-2.el6.i686.rpm

error: Failed dependencies:

        libaio.so.1 is needed by MySQL-server-5.5.31-2.el6.i686
        libaio.so.1(LIBAIO_ 0.1) is needed by MySQL-server-5.5.31-2.el6.i686
        libaio.so.1(LIBAIO_ 0.4) is needed by MySQL-server-5.5.31-2.el6.i686

 
After struggling for a long time, we finally found a solution: (thank you for providing relevant articles)

Add two parameters after the installation package, such as

[ root@VM_ 55_ 2_ centos mysql]#   rpm -ivh MySQL-server-5.5.31-2.el6.i686.rpm –nodeps –force
Preparing…                 ########################################### [ 100%]
   1:MySQL-server            ########################################### [ 100%]

 
The significance of adding those two parameters is that during installation,
the dependency relationship between packages is no longer analyzed and the package is installed directly,
there will be no error such as error: failed dependencies