LoginSignup
37
34

More than 5 years have passed since last update.

Ubuntu - エラー「E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)」

Last updated at Posted at 2015-06-30

ubuntuで「apt-get update」した時のエラー

エラー出力

E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: Unable to lock directory /var/lib/apt/lists/

原因

他のプロセスがaptを使用しているため

対応

1.使用しているプロセスの特定
ps aux | grep apt | grep -v 'grep'
2.特定したプロセスをkill
sudo kill <PID>
37
34
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
37
34