On CentOS, an error occurs when yum-yinstallgcc * gcc-c ++ * autoconf * automake * zlib * libxml * ncurses-devel * libmcrypt * libtool *: 1) What is the problem? According to the prompt, an update is already running in the system process. In...
When yum-y install gcc * gcc-c ++ * autoconf * automake * zlib * libxml * ncurses-devel * libmcrypt * libtool * on CentOS, an error occurs:
1) what is going on? According to the prompt, an update is already running in the system process. View in the process: ps-ef | grep update
2) kill the process to kill the process. after killing the process, the error persists. In the original/var/run directory, there is also the yum process ID, which needs to be forcibly deleted:
3) restart the yum update service as follows:
4) restart yum-y install gcc * gcc-c ++ * autoconf * automake * zlib * libxml * ncurses-devel * libmcrypt * libtool *.
This article is from the second dwelling blog