Solve the problem of yum installation error Protected multilib versions

Solve the problem of yum installation error Protected multilib versions

Today, when installing nginx on the cloud server, I need to install some dependent libraries such as zlib first, but an error occurs when installing zlib.

yum install -y zlib zlib-devel

(-y means automatic y if you need to select yes or no) The following is the error

Protected multilib versions: zlib-1.2.7-17.el7.x86_64 != zlib-1.2.7-15.el7.i686

The reason is that multiple libraries cannot coexist, but updating does not work either. However, you can add

--setopt=protected_multilib=false

The complete command is

yum install -y zlib zlib-devel --setopt=protected_multilib=false

Okay, perfect solution, Prefect

The above article on solving the problem of yum installation error Protected multilib versions is all the content that the editor shares with you. I hope it can give you a reference. I also hope that you will support 123WORDPRESS.COM.

You may also be interested in:
  • Solution to mirrorlist.txt error in Yum installation

<<:  Usage and performance optimization techniques of aggregate function count in MySQL

>>:  Detailed explanation of how to automatically refresh the page and refresh method after deleting Vue list data

Recommend

How to create an index on a join table in MySQL

This article introduces how to create an index on...

react-diagram serialization Json interpretation case analysis

The goal of this document is to explain the Json ...

JS implements array filtering from simple to multi-condition filtering

Table of contents Single condition single data fi...

Example of how to deploy Spring Boot using Docker

Here we mainly use spring-boot out of the box, wh...

A detailed tutorial on how to install Jenkins on Docker for beginners

Jenkins is an open source software project. It is...

Calendar effect based on jQuery

This article example shares the specific code of ...

Supplementary article on front-end performance optimization

Preface I looked at the previously published arti...

Java programming to write a JavaScript super practical table plug-in

Table of contents Effects Documentation first ste...

How to use Samba to build a shared file service on a Linux server

Recently, our small team needs to share a shared ...

SQL Server database error 5123 solution

Because I have a database tutorial based on SQL S...

Detailed explanation of JS browser storage

Table of contents introduction Cookie What are Co...

HTML table tag tutorial (8): background image attribute BACKGROUND

Set a background image for the table. You can use...