How to fix Unable to lock the administration directory (/var/lib/dpkg/) error in Linux

by George Sruthin | Dec 19, 2014 | Howtos, Linux, OS, Servers, Troubleshooting | 0 comments

Some of you may experience this error in your life if you are using linux .it happens when previous installation…

Some of you may experience this error in your life if you are using linux .it happens when previous installation…

Some of you may experience this error in your life if you are using linux .it happens when previous installation fails , here is the screenshot which is happened in my Linux Distro

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?

 its very easy to fix this error just type following commands in your terminal

sudo rm /var/lib/dpkg/lock  

this will delete the “lock” directory in /var/lib/dpkg/

after that you can install what ever you want

The Inspiration Behind This Article ⭐

Special thanks to Jake on LinkedIn for the inspiration behind this blog post. Your thoughts on the "Ivory Tower" concept encouraged me to expand on the idea and explore how it impacts leadership, IT, and organizational decision-making.

Written By George Sruthin

👋 Hi, I'm George Sruthin, founder of TechRidez. 💻 I help IT professionals solve real-world infrastructure challenges through practical guides on 🐧 Linux, ☁️ Cloud, 🖥️ Virtualization, 💾 Enterprise Storage, 🔐 Cybersecurity, 🌐 Networking, and ☁️ Backup Solutions.

Related Posts

Comments

0 Comments

0 Comments

Submit a Comment


Subscribe For Instant News, Updates, and Discounts

Pin It on Pinterest

Shares
Share This