Why can't I install google-chrome?
+0
−3
apt install google-chrome-stable_current_amd64.deb
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?
dpkg -i google-chrome-stable_current_amd64.deb
dpkg: error: dpkg status database is locked by another process
As you can see when I am trying to install google-chrome I am getting some error. Why I am facing those errors?
1 answer
+1
−1
Actually, there's another process is running in another terminal. Seems like that is installing something or update or upgrading your system. That's why dpkg -i
returned that
database is locked by another process.
Some says to remove the file /var/lib/dpkg/lock
. But, I highly recommend not to remove that file cause it's likely to kill your process. Sometimes, your system might crash for it either.
1 comment thread