Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs

Dashboard
Notifications
Mark all as read
Q&A

Why can't I install google-chrome?

+0
−2
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?

Why does this post require moderator attention?
You might want to add some details to your flag.
Why should this post be closed?

0 comment threads

1 answer

+0
−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.

Why does this post require moderator attention?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »

This community is part of the Codidact network. We have other communities too — take a look!

You can also join us in chat!

Want to advertise this community? Use our templates!