【Linux】Ubuntu apt 安装故障 Could not get lock /var/lib/dpkg/lock-frontend
报错提示
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? Setting up libssl1.0.0:amd64 (1.0.2n-1ubuntu5.13) ... debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable dpkg: error processing package libssl1.0.0:amd64 (--configure): installed libssl1.0.0:amd64 package post-installation script subprocess returned error exit status 1
解决方案:
rm -f /var/{lib/apt/lists/lock,cache/apt/archives/lock,lib/dpkg/lock*} dpkg --configure -a apt install -y libssl1.0.0
原文地址:https://www.cnblogs.com/Janzen-q/p/17465029.html