error
![[Ubuntu] Could not get lock /var/lib/dpkg/lock-frontend 에러 해결](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fk6cby%2FbtrOzeoh2q1%2FbSuZqll3KkJVVKYxeFCmxk%2Fimg.png)
[Ubuntu] Could not get lock /var/lib/dpkg/lock-frontend 에러 해결
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? 패키지를 설치하려고 했으나 위와 같은 에러 메시지가 떴습니다 이럴 때 해결방법 정리 1. 실행 중인 프로세스를 끕니다 sudo killall apt apt-get 2. 실행중인 프로세스가 없다고 뜨면, 디렉터리들을 삭제합니다 sudo rm /var/lib/apt/lists/lock sudo rm /var/cache/apt/archives/lock sud..
![[docker] Failed to get D-Bus connection 에러 해결](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FwPrCU%2FbtrOyBD2B7G%2FFVCMMXR3oafCO30QUty6w0%2Fimg.png)
[docker] Failed to get D-Bus connection 에러 해결
이미지 centos:7를 사용하려고 했더니 systemctl을 사용할 수가 없다 ;; ubuntu에서는 잘 됐던거 같은데 centos은 안되는게 왜케 많은지 모르겠다 [user01@master ~]$ docker run -it centos:7 bash [root@9fa1db10b89c /]# systemctl Failed to get D-Bus connection: Operation not permitted 1. 컨테이너 해결방법 --privileged 옵션과 -d 옵션으로 /sbin/init을 실행한후 exec로 /bin/bash를 실행시켜야 한다 $ docker run --privileged -d --name mycentos centos:7 /sbin/init $ docker exec -it myce..