If you just run an apt command and this command ended abruptly e.g. With dpkg --set-selections, you can set which packages are to be installed/removed etc, which gets done the next time you run apt-get dselect-upgrade.. Why "medium-level"? E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Tried to unlock as: sudo rm /var/lib/dpkg/lock .
下面的输出是另外一个可能显示的错误: E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?” The problem arises when a specific process locks the dpkg resource. First, you should wait a few minutes to ensure that the lock has not been set by the automatic update job (in case you enabled automatic updates on your system). Unixmen provide Linux Howtos, Tutorials, Tips & Tricks, Opensource News. I tried killall -w apt-get as root but I don't know how to kill dpkg- Any suggestions? It seems entirely random what package fails. Stack Exchange Network.
E: Could not get lock / var / cache / apt / archives / lock – open (11: Resource temporarily unavailable) E: Unable to lock directory / var / cache / apt / archives / Usually you can wait for the .deb package to finish installing and simply close the Software Center or gdebi if you use this. Stack Overflow for Teams is a private, secure spot for you and your coworkers to find and share information. Ubuntu 解決 “Unable to lock the administration directory (/var/lib/dpkg/)” Sam Tang 17 November 2016 Linux 2 Comments 在 Ubuntu 或 Mint 用 apt-get 指令安裝套件時, 可能會遇到出現以下錯 …
Stack Exchange network consists of 177 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.. Visit Stack Exchange
due to a disconnect of your SSH session, then there is no need to wait. / Fix E: Could not get lock /var/lib/dpkg/lock – Unable to lock the directory Fix E: Could not get lock /var/lib/dpkg/lock – Unable to lock the directory By Sourabh / February 11, 2019 Category: How To , … Rebooting doesn't help either. As we all knows, Kali Linux is one of the best pentesting distribution used by security professionals and hackers too but its so annoying when you see these kind of errors while installing any tool/package with apt-get command. George Sruthin.
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? E: Could not get lock /var/cache/ apt/archives/lock - open (11 Resource temporarily unavailable) E: Unable to lock the download directory. E: Could not open lock file /var/lib/dpkg/lock - open (2: No such file or directory) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
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 usingit?
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? 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?
I'm not sure how this could be a bug in the module, but it seems like too much of a co-incidence that it just started after bumping the version. / Fix E: Could not get lock /var/lib/dpkg/lock – Unable to lock the directory Fix E: Could not get lock /var/lib/dpkg/lock – Unable to lock the directory By Sourabh / February 11, … tecmint@TecMint:~$ sudo apt install neofetch [sudo] password for tecmint: 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? It cover most popular distros like Ubuntu, LinuxMint, Fedora, Centos. Since my problem was that I was unable to remove the 00LOCK folder within the same R session because of a NFS file that cannot be removed, when installing a package I go through every package that will be imported (and the package itself), detach it, remove it, install it … I've searched through other post on the forum, and they said that it should be ok once I've reboot it or killed the process that's occupying the file. dpkg, a medium-level package manager for Debian.
tecmint@TecMint:~$ sudo apt install neofetch [sudo] password for tecmint: 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? It asked for password and then says: rm: cannot remove `/var/lib/dpkg/lock': No …