Last update at :2024-07-09,Edit by888u
Today in the Ubuntu system environment, whether you are performing an update to upgrade the source software or installing other software, the error message "Could not get lock /var/lib/dpkg/lock\\" appears. .
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?
Solution:
rm /var/cache/apt/archives/lockrm /var/lib/dpkg/lock
Delete the two files, and then execute the required software after upgrading the source with apt-get update -y to solve the problem.
Recommended site search: foreign server rental, server proxy IP, Ministry of Industry and Information Technology website registration, vps host, Korean independent server, domain name host international domain name, cancellation registration, Ministry of Industry and Information Technology ICP registration query free virtual host,
发表评论