#락 중지
sudo systemctl stop unattended-upgrades
sudo systemctl disable unattended-upgrades
#락이 걸린 PID 확인
ps -ef | grep <프로세스명>
#실행중인 프로세스 종료
sudo kill -9 <PID> || true
#dpkg 상태복구
sudo dpkg --configure -a
#락이 풀렸는지 확인
ls /var/lib/dpkg/lock-frontend'other > linux' 카테고리의 다른 글
| /opt/mysql/bin/mysqld: error while loading shared libraries: libaio.so.1: cannot open shared object file: No such file or directory (0) | 2025.12.29 |
|---|---|
| virsh로 qemu vm 자동실행하기 (0) | 2025.12.29 |
| linux cache 삭제 명령어 alias 설정 (0) | 2025.12.23 |
| linux bridge 생성하기 (0) | 2025.12.23 |
| libvirt 기본 네트워크 default, virbr0 비활성화 하기 (0) | 2025.12.23 |