딸기스무디

Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? 본문

linux

Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

strawberry-smoothie 2019. 11. 18. 10:00
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

apt-get update, apt-get upgrade시에 위와 같은 에러가 발생했을시 해결법

 

다음과 같은 명령어를 입력해서 디렉토리 및 파일 삭제

sudo rm -rf /var/lib/apt/lists/lock
sudo rm -rf /var/cache/apt/archives/lock
sudo rm -rf /var/lib/dpkg/lock*
sudo dpkg --configure -a

 

Comments