在​​ubuntu​​​上安装ssh时执行(执行命令sudo apt-get install ssh时),
系统提示:
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?
上面这坨指:无法获取/var/lib/dpkg/lock 锁,
解决方法:把当前的锁干掉,执行 sudo rm -rf /var/lib/dpkg/lock 。