dpkg: error: dpkg status database is locked by another process

Error: when installation debian package in Ubuntu
dpkg: error: dpkg status database is locked by another process

Solutions:
lsof /var/lib/dpkg/lock
kill -9 file_pid
sudo rm /var/lib/dpkg/lock
sudo apt-get update
Share on Google Plus

About Md. Shahzad Alam

I am a passionate cloud and DevOps professional specializing in Linux and open-source solutions. Through this blog, I share my knowledge and experience with the community, offering tips and insights on cloud technologies and DevOps practices.
    Blogger Comment

0 comments:

Post a Comment