这是我在配置vim的YouCompleteMe时遇到的问题,我需要使用CMake来编译YCM. 在我输入 $ sudo apt install cmake 由于网络原因导致安装一直卡在0% [Waiting for headers] 在我多次尝试后发现报错unable to lock the administration directory (/var/lib/dpkg/) is another process using it 安装进程已经被锁死,这时只需与删掉apt下的生成的死锁文件就好了.…
是不是在使用ubuntu的时候特别是安装或更新的时候会出现下面的情况: 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? 导致没办法进行下去? 最简单直接的办法: sudo rm /va…
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? 1.进程占用 使用 ps -A | grep apt sudo kill -9 进程号 可以解决2. 意外关机,文件被锁定 ubuntu出…
I see pretty much all the answers recommend deleting the lock. I don't recommend doing that as a first measure; maybe if there is no alternative. The lock is placed when an apt process is running, and is removed when the process completes. If there i…
Description:无法获得锁 /var/lib/dpkg/lock - open (11 Resource temporarily unavailable)Unable to lock the administration directory (/var/lib/dpkg/), is another process using it? Solution:sudo rm /var/cache/apt/archives/locksudo rm var/lib/dpkg/lock…
在 Ubuntu 或者它的衍生版如 Linux Mint(我已经作为日常工作使用的系统)中使用 apt-get 命令或者其相对更新的APT 管理工具时,你可能会在命令行中看到一个 unable to lock the administration directory (/var/lib/dpkg/) is another process using it 的错误. 这个错误尤其对那些对这个错误原因不了解的 Linux(Ubuntu)新手而言更加恼人. 下面是一个例子,展示了出现在 Ubuntu…
While using the apt-get command or the relatively new APT package management tool in Ubuntu Linux or its derivatives such as Linux Mint (which I actually use as my primary operating system for doing daily work), you might have encountered the error –…
如何修复 Ubuntu 中的“Unable to lock the administration directory (/var/lib/dpkg/)” 在 Ubuntu 或者它的衍生版如 Linux Mint(我已经作为日常工作使用的系统)中使用 apt-get 命令或者其相对更新的APT 管理工具时,你可能会在命令行中看到一个 unable to lock the administration directory (/var/lib/dpkg/) is another process usi…