Hack-file

ハッキングに関してまとめるブログ。高校生がハッカーを目指している。たまに哲学、都市伝説

apt-get install を誤って途中で中断してしまった時の対処法 E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

aptがほかで使用してしまっていることになっているので 

aptを確認してkillしてしまえば終了です

 

ps aux | grep apt | grep -v 'grep'
sudo kill <pid>
sudo dpkg --configure -a

 

f:id:libr4:20190621004431j:plain

 

 で、aptが使えるよになるはずです。