dpkg:error: dpkg frontend is locked by another process

created at 09-16-2021 views: 3

An error occurred while installing the .deb file with dpkg

dpkg:error: dpkg frontend is locked by another process

solution

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

You can remove the error.
Re-enter the install deb file command to install

sudo dpkg -i xxxxxx.deb
Please log in to leave a comment.