apt-get upgade failed. at Debian 10

세벌의 이미지

root@sebul:~# apt-get update
기존:1 <a href="http://ftp.kr.debian.org/debian" rel="nofollow">http://ftp.kr.debian.org/debian</a> buster InRelease
기존:2 <a href="http://ftp.kr.debian.org/debian" rel="nofollow">http://ftp.kr.debian.org/debian</a> buster-updates InRelease                                             
기존:3 <a href="http://ftp.kr.debian.org/debian" rel="nofollow">http://ftp.kr.debian.org/debian</a> buster-backports InRelease                                                                                                            
기존:4 <a href="http://security.debian.org/debian-security" rel="nofollow">http://security.debian.org/debian-security</a> buster/updates InRelease                                                                                                   
기존:5 <a href="http://download.virtualbox.org/virtualbox/debian" rel="nofollow">http://download.virtualbox.org/virtualbox/debian</a> buster InRelease      
패키지 목록을 읽는 중입니다... 완료     
root@sebul:~# apt-get upgrade
E: /var/lib/dpkg/lock-frontend 잠금 파일을 얻을 수 없습니다 - open (11: 자원이 일시적으로 사용 불가능함)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
root@sebul:~#

apt-get update 잘 되었는데
apt-get upgrade 할 때 위와 같은 에러가 나네요.
어떻게 하면 되나요?

익명 사용자의 이미지

질문 하기 전에 읽으면 좋은 글.

http://wiki.kldp.org/wiki.php/DocbookSgml/Beginner_QA-KLDP#AEN70

GUI 방식 패키지 관리자가 같이 돌고 있으면 저럴 수도 있습니다.

익명 사용자의 이미지

문자 그대로 누군가 /var/lib/dpkg/lock-frontend를 이미 잡아놓고 있고. 그 누군가가 문제일 가능성이 높겠지요.

fuser를 쓰면 그게 누군지 알 수 있게 되지 않을까요.