본문 바로가기
카테고리 없음

CentOS yum error

by 밍사원 2024. 10. 21.
반응형

[개요]

CentOS에서 정상적으로 yum update 진행되지 않을 때의 해결 방법

 

[증상]

"Another app is currently holding the yum lock; waiting for it to exit…" 함께 yum 관련된 명령어 실행 불가

 

 

 

 

1. yum process kill

   # ps -ef | grep yum  (프로세스 확인)
   # kill -9 15211 (프로세스 죽이기)


2. /var/run/yum.pid 삭제

   # rm -rf /var/run/yum.pid 
 

 

 

Yum install Trying other mirror 발생

 

 

 

 

yum clean all

 

 

 

 

 

이후 정상적으로 yum update 가능

반응형