[Linux] Unable to obtain dpkg front-end lock solution

Questions are as follows:

insert image description here

 The solution is as follows:

insert image description here

 

sudo rm /var/lib/dpkg/lock
sudo rm /var/lib/dpkg/lock-frontend
sudo rm /var/cache/apt/archives/lock

 

It has been proved that the occupation can be released by entering the above three commands.

After disarming, continue to run the apt command, and it has run smoothly.

insert image description here

 that's all.

 

 

 

 

Guess you like

Origin blog.csdn.net/weixin_48345177/article/details/131848251