Linux installation RPM package encountered failed dependencies

Source: Internet
Author: User

Beginners Linux, put the solution of today's problems posted out

Environment: Centos 5.5 + mysql-server-5.5.24-1.linux2.6.x86_64.rpm

The problems encountered:

[Root@sh158-xen data] #rpm-IVH mysql-server-5.5.24-1.linux2.6.x86_64.rpm

error:failed dependencies:

MySQL conflicts with mysql-5.0.77-4.el5_4.2.x86_64

Entangled for a long time, finally found a solution: (Thanks for providing related articles of Bo friends)

After the installation package, add two parameters, such as

[Root@sh158-xen data] #rpm-IVH mysql-server-5.5.24-1.linux2.6.x86_64.rpm--nodeps--force

Preparing ... ########################################### [100%]

1:mysql-server ########################################### [100%]

And the significance of those two parameters is that

Installation is no longer analyzed for dependencies between packages and is installed directly.

And you won't be prompted error:failed dependencies: This is a mistake.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.