解决报错E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 735 (apt-get)N:
apt-get -y update & apt-get install -y vim 时报错:
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 735 (apt-get) 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?
解决办法:
rm /var/lib/apt/lists/lock rm /var/cache/apt/archives/lock rm /var/lib/dpkg/lock*
再输入以下命令配置一下package:
dpkg --configure -a