#sudo apt-get update
....
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Fetched 7,188 kB in 42s (170 kB/s)
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
离线
根据网上搜索的资料,原来是后台还有 apt 进程引起, 需要杀死。
离线
# ps -A -f |grep apt
root 113909 129239 0 Mar30 pts/32 00:00:00 sudo apt-get update --fix-missing
root 113910 113909 0 Mar30 pts/32 00:00:07 apt-get update --fix-missing
离线
#sudo sudo kill 113910
#sudo sudo kill 113909
然而还是不能杀死,估计只能重启ubuntu了。
离线
#sudo sudo kill -9 113910
#sudo sudo kill -9 113909
这样就可以完全杀死了.
离线
#sudo apt-get update
....
Ign http://old-releases.ubuntu.com raring/restricted Translation-en_US
Ign http://old-releases.ubuntu.com raring/universe Translation-en_US
Reading package lists... Done
#
终于搞定.
离线