Ubuntu 使用脚本一键安装docker报错如下:
E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
解决方法如下:
rm /var/lib/dpkg/lock-frontend -f
rm /var/lib/dpkg/lock -f
重新执行脚本即可