报错信息
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 1446 (unattended-upgr)
N: Be aware that removing the lock file is not a solution and may break your system.
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?
查看进程
ps -aux
结束报错里面的进程
kill -9 1446
apt-get install curl
总结
写到这