Ubuntu 16.04 sudo apt-get update报错

sudo apt-get update 时报错

E: 无法获得锁 /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
E: 无法对目录 /var/lib/apt/lists/ 加锁

解决方法:

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock

你可能感兴趣的:(Ubuntu 16.04 sudo apt-get update报错)