Finished Dependency Resolution Error: Package: mysql-server-5.5.31-1.el6.remi.i686 (remi) Requires: libz.so.1(ZLIB_1.2.0)
yum --enablerepo=remi install mysq
and these error appears.
I have epel installed already.
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
fwiw there is a 5.1 mysql-server in the base channel for RHEL (so I know it's going to be in CentOS's repo) can you not use that version? Is there something specific about 5.5 that you were wanting?
Basically, it looks like it's pulling it from a non-standard repo, and this rpm is (for whatever reason) linked against a particular version of
1.2.0). I'm showing that the latest version on RHEL/CentOS 6 is
1.2.3-29 so I'm willing to bet that's probably what you have installed (you can verify with
rpm -qa zlib though) If you absolutely need this version you have two options:
1) Try to downgrade the package that provides that .so file ("zlib" according to my
yum whatprovides */libz.so* but you'll want to verify on your system). Yum is obviously not going to want to prompt you to downgrade unless you explicitly ask it to (otherwise impulsive people would be breaking their systems left and right). It may take some other packages with it, so make sure you review the list before you accept it (if you go this route).
2) Ask whoever maintains this repo to rebuild the RPM without specifying a version (Red Hat is unlikely to change that much within a major release of RHEL, that's part of what the enterprise customers are paying for) or to re-link against the current
1.2.3 or something. Normally, when a third party repo links against shared libraries coming from the main software channels, they're supposed to update their latest rpm's when those packages get updated (so that it doesn't do this sort of thing). It may be an oversight on their part or the repo could just be old/unmaintained.