An error occurred while installing MySQL in Linux.

Source: Internet
Author: User

An error occurred while installing MySQL in Linux:

  1. [Root@www.bkjia.com pub] # yum install MySQL-server-community-5.1.58-1.rhel5.i386.rpm
  2. Loaded plugins: product-id, refresh-packagekit, submodules-manager
  3. Updating Red Hat repositories.
  4. Setting up Install Process
  5. Examining MySQL-server-community-5.1.58-1.rhel5.i386.rpm: MySQL-server-community-5.1.58-1.rhel5.i386
  6. Marking MySQL-server-community-5.1.58-1.rhel5.i386.rpm to be installed
  7. Resolving Dependencies
  8. -->Running transaction check
  9. --->Package MySQL-server-community.i386. 1.58-1. rhel5 will be installed
  10. -->Finished Dependency Resolution
  11. DependenciesResolved
  12. ========================================================== ========================================================== ========================================================== ========================================================== ========================
  13. Package Arch Version RepositorySize
  14. ========================================================== ========================================================== ========================================================== ========================================================== ========================
  15. Installing:
  16. MySQL-server-community i386 5.1.58-1. rhel5/MySQL-server-community-5.1.58-1.rhel5.i386 44 M
  17. TransactionSummary
  18. ========================================================== ========================================================== ========================================================== ========================================================== ========================
  19. Install 1 Package (s)
  20. Total size: 44 M
  21. Installed size: 44 M
  22. Is this OK [y/N]: y
  23. Downloading Packages:
  24. Running rpm_check_debug
  25. Running Transaction Test
  26. Transaction Check Error:
  27. File/usr/share/mysql/charsets/README from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  28. File/usr/share/mysql/charsets/Index. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  29. File/usr/share/mysql/charsets/armscii8.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  30. File/usr/share/mysql/charsets/ascii. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  31. File/usr/share/mysql/charsets/cp1250.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  32. File/usr/share/mysql/charsets/cp1251.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  33. File/usr/share/mysql/charsets/cp1256.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  34. File/usr/share/mysql/charsets/cp1257.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  35. File/usr/share/mysql/charsets/cp850.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  36. File/usr/share/mysql/charsets/cp852.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  37. File/usr/share/mysql/charsets/cp866.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  38. File/usr/share/mysql/charsets/dec8.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  39. File/usr/share/mysql/charsets/geostd8.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  40. File/usr/share/mysql/charsets/greek. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  41. File/usr/share/mysql/charsets/hebrew. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  42. File/usr/share/mysql/charsets/hp8.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  43. File/usr/share/mysql/charsets/keybcs2.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  44. File/usr/share/mysql/charsets/koi8r. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  45. File/usr/share/mysql/charsets/koi8u. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  46. File/usr/share/mysql/charsets/latin1.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  47. File/usr/share/mysql/charsets/latin2.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  48. File/usr/share/mysql/charsets/latin5.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  49. File/usr/share/mysql/charsets/latin7.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  50. File/usr/share/mysql/charsets/macce. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  51. File/usr/share/mysql/charsets/macroman. xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  52. File/usr/share/mysql/charsets/swe7.xml from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  53. File/usr/share/mysql/czech/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  54. File/usr/share/mysql/danish/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  55. File/usr/share/mysql/dutch/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  56. File/usr/share/mysql/english/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  57. File/usr/share/mysql/estonian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  58. File/usr/share/mysql/french/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  59. File/usr/share/mysql/german/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  60. File/usr/share/mysql/greek/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  61. File/usr/share/mysql/hungarian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  62. File/usr/share/mysql/italian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  63. File/usr/share/mysql/japanese/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  64. File/usr/share/mysql/korean/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  65. File/usr/share/mysql/norwegian-ny/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  66. File/usr/share/mysql/norwegian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  67. File/usr/share/mysql/polish/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  68. File/usr/share/mysql/portuguese/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  69. File/usr/share/mysql/romanian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  70. File/usr/share/mysql/russian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  71. File/usr/share/mysql/serbian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  72. File/usr/share/mysql/slovak/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  73. File/usr/share/mysql/spanish/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  74. File/usr/share/mysql/swedish/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686
  75. File/usr/share/mysql/ukrainian/errmsg. sys from install of MySQL-server-community-5.1.58-1.rhel5.i386 conflicts with file from package mysql-libs-5.1.52-1.el6_0.1.i686

 

I found it online. It turns out to be a package conflict. conflicts means a conflict in English.

I unmount all conflicting packages;

Yum-y remove mysql-libs-5.1.52 *-y means you don't have to ask whether to remove

After the uninstallation is complete, the MySQL installation is successful.

Yum install MySQL-server-community-5.1.58-1.rhel5.i386.rpm

Related Article

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.