![]() The first thing you should do is to check if some other program could be running system update or installing a program. Let’s see what steps can you take to fix this issue of ‘unable to lock administration directory’. This locking is done so that two processes don’t change the content at the same time as it may lead to unwarranted situation and a possible broken system. When a command or application is updating the system or installing a new software, it locks the dpkg file (Debian package manager). ![]() You see this error because some other program is trying to update Ubuntu. ![]() Fixing “Unable to lock the administration directory (/var/lib/dpkg/)” error These errors are very similar to another common Ubuntu error, Unable to lock directory /var/cache/apt/archives/, and the interesting thing is that the fixes are similar as well. In some cases, you might see it while using the Software Center: Could Not Get Lock Error in Ubuntu Software Center In fact, there is a similar error you may see:Į: Could not get lock /var/lib/apt/lists/lock – open (11: Resource temporarily unavailable)Į: Unable to lock directory /var/lib/apt/lists/ Recently I was trying to install an application using the apt command on Ubuntu when I encountered the following error:Į: Could not get lock /var/lib/dpkg/lock – open (11: Resource temporarily unavailable)Į: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |