Tag Archives: Error: Protected multilib versions:

How to Solve Error: protected multilib versions

Detailed map traversal, teach you to master the complex gremlin query debugging method>>>

The system lacks a lib library libz. So. 1 file. If you use Yum to install, you will automatically find the relevant RPM package, as follows

# yum -y install libz.so.1

Resolving Dependencies
–> Running transaction check
—> Package zlib.i686 0:1.2.3-29.el6 will be installed
–> Finished Dependency Resolution
Error: Protected multilib versions: zlib-1.2.3-29.el6.i686 != zlib-1.2.3-27.el6.x86_ 64
You could try using –skip-broken to work around the problem
You could try running: rpm -Va –nofiles –nodigest

Analysis reason: Yum has detected that the libz. So. 1 files we need are in zlib-1.2.3-29.el6.i686 and zlib-1.2.3-27.el6.x86_ Zlib-1.2.3-27.el6.x86 is installed in 64 bit system_ The libz. So. 1 file is located in the/lib64 directory, so yum gives an error prompt

Solution: add — setopt = protected at the end of the yum command_ Multilib = false statement

# yum -y install libz.so.1 –setopt=protected_ multilib=false

Conclusion: this parameter is very useful when installing 32-bit software package on 64 bit operating system without lib library dependency, because 64 bit operating system will install 64 bit lib Library in/lib64 directory by default, while 32-bit application needs lib Library in/lib directory, and the Lib library file name is the same, so the above conflict often occurs during installation