The 32-bit software package is upgraded and installed by default in CentOS 64-bit version. as a result, some software uses a 32-bit software package in the 64-bit (x86_x64) environment, resulting in an error during compilation, how can we prevent the system from updating the 32-bit software package when executing the upgrade command? 1. delete the installed 32-bit package yumremove \ *. I \? Run the above Command in 86SSH to delete all installed 32-bit packages. this command does not affect system usage.
CentOS 64-bit version. by default, the 32-bit software package is upgraded and installed. as a result, some software uses a 32-bit software package in the 64-bit (x86_x64) environment, resulting in an error during compilation, how can we prevent the system from updating the 32-bit software package when executing the upgrade command?
1. delete the installed 32-bit package
yum remove \*.i\?86
Run the preceding command in SSH to delete all installed 32-bit packages. this command does not affect system usage.
II. modify yum configuration file parameters
1. modify the file
vim /etc/yum.conf
2. add the following parameters to [main ]:
exclude=*.i?86
, Add and save the file.
III. Update
yum -y update