Could not get lock / var / cache / apt / archives / lock

2010-08-05  来源:本站原创  分类:OS  人气:420 

liunx install, update software, encountered the following error:

E: Could not get lock / var / cache / apt / archives / lock - open (11: Resource empporarily unavailable)
E: Unable to lock the download directory

The command to see this:

ps-e | grep apt

Showing results are as follows:

2069? 00:00:00 apt

2208? 00:00:00 apt-get

2315? 00:00:00 synaptic

Then on the implementation of

sudo killall apt

sudo killall apt-get

sudo killall synaptic

Again in the terminal view

ps-e | grep apt

No results of the

If you still do not work, try using this command:

sudo rm-rf / var / cache / apt / archives / lock

Note:-rf after the full path for the error

ge: Could not get lock / var / cache / apt / archives / lock

You can then continue

sudo apt-get install software name

Or

sudo apt-get update

相关文章
  • ubuntu-not get lock / var / cache / apt / archives / lock - open (11 Resource temporarily unavailable) solution 2010-02-09

    When prompted to update the software "can not get lock / var / cache / apt / archives / lock - open (11 Resource temporarily unavailable)" Solution 1: #: Ps-aux (list processes, forms such as) root 5765 0.0 1.0 18204 15504? SN 04:02 0:00 apt-get

  • Could not get lock / var / cache / apt / archives / lock 2010-08-05

    liunx install, update software, encountered the following error: E: Could not get lock / var / cache / apt / archives / lock - open (11: Resource empporarily unavailable) E: Unable to lock the download directory The command to see this: ps-e | grep a

  • E: 无法获得锁 /var/cache/apt/archives/lock - open (11 资源临时不可用) E: 无法锁定下载目录 2010-04-29

    安装软件时出错: E: 无法获得锁 /var/cache/apt/archives/lock - open (11 资源临时不可用) E: 无法锁定下载目录 找到解决方法: sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock

  • 在安装GCC基本包时出现:E: 无法获得锁 /var/cache/apt/archives/l... 2011-10-24

    解决方法一: #:ps -aux (列出进程,形式如) root 5765 0.0 1.0 18204 15504 ? SN 04:02 0:00 apt-get -qq -d 找到最后一列以apt-get 开头的进程 #:sudo kill 该进程的PID 解决方法二: #:sudo rm /var/cache/apt/archives/lock #:sudo rm /var/lib/dpkg/lock

  • By apt-get command to download the package on / var / cache / apt / archives directory location of downloaded files in / etc / apt / source.list text 2011-07-29

    By apt-get command to download the package, on the / Var / cache / apt / archives directory, you can download the file location / Etc / apt / source.list file specified by the command apt-get autoclean can remove the package stored in the ground

  • 无法获得锁 /var/lib/apt/lists/lock - open (11: Resou... 2012-11-07

    刚刚装完Ubantu 10.04,配置好网络连接后,发现更新软件源时,会出现无法"reload"错误提示!同样在用"sudo apt-get update"更新软件源时,会出现"E: 无法获得锁 /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)"错误提示!这时心头一惊,怎么会出现错误呢?我什么配置还都没修改呢!相信有许多好友也出现了同样的问题,现在来共享一下

  • Can not get lock / var / lib / dpkg / lock - open (11: Resource temporarily unavailable) 2010-06-11

    Question: Update error when running the program: Can not get lock / var / lib / dpkg / lock - open (11: Resource temporarily unavailable) Address: In fact, this is because there are other programs running, causing the lock is not available. Reason co

  • ubuntu 常见错误 Could not get lock /var/lib/dpkg/lock 2014-02-13

    通过终端安装程序sudo apt-get install xxx时出错: 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? 出现这个问题可能是有另外一个程序正在运行,导致资源被锁不可用.而

  • Can not get lock / var / lib / dpkg / lock solution to send the method 2010-03-14

    When using apt-get, there catalog or locked solutions (E: can not get lock / var / lib / dpkg / lock - open (11: Resource temporarily unavailable) E: unable to manage directory (/ var / lib / dpkg /) lock is not another package management) Error beha

  • Existing lock / var / run / yum.pid: another copy is running error solution 2010-07-05

    Existing lock / var / run / yum.pid: another copy is running error solution If the package during the installation the following error Existing lock / var / run / yum.pid: another copy is running. Aborting. Error, Loading "installonlyn" plugin E

  • Line buffer queue lock (Row Cache Lock Wait) 2010-10-25

    <br /> Definition of a line running buffer must request DDL locks (Row Cache Lock) to lock the data dictionary (Data Dictionary) information. Shared Pool (Shared Pool) contains the data dictionary from the line buffer to reduce disk IO access, and a

  • Hibernate in the pessimistic locking (pessimistic lock) and optimistic locking (optimistic lock) 2010-03-28

    Hibernate in the pessimistic locking (pessimistic lock) and optimistic locking (optimistic lock) Pessimistic locking (pessimistic lock): Mechanism is usually implemented by the database, the data in the process lock (query), as long as the transactio

  • Java: use of synchronized and the Lock object for the object lock (turn) 2010-11-02

    Transfer from: http://zhangjunhd.blog.51cto.com/113473/70300 In a concurrent environment, sharing resources to resolve conflicts, you can consider using the lock mechanism. 1. Objects are automatically lock all the objects with a single lock. JVM is

  • On "Can not get exclusive lock" solution 2010-12-30

    Have another package manager (for example: apt-get or aptitude) is running, please turn it off. Open a terminal: sudo rm / var / cache / apt / archives / lock sudo rm / var / lib / dpkg / lock There are similar: E: Could not get lock / var / cache /

  • ubuntu install libncurses5-dev error occured 2013-09-27

    Error infos: wzw @ubuntu :~/workstation/mysql-5.1.68$ sudo apt-get install libncurses5-dev Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer

  • Unable to lock the administration directory (/ var / lib / dpkg /), is another process 2011-02-28

    Vsftpd install ubuntu ssh software and the time the error reported above. Solution to delete these two files on the ok. sudo rm / var / cache / apt / archives / lock sudo rm var / lib / dpkg / lock

  • ubuntu12.04--无法获得锁 /var/lib/dpkg/lock - open (1... 2012-11-10

    结果终端提示: 无法获得锁 /var/lib/dpkg/lock - open (11: 资源暂时不可用) E: 无法锁定管理目录(/var/lib/dpkg/),是否有其他进程正占用它?" 解决办法如下: 1.终端输入 ps -aux ,列出进程,找到含有apt-get的进程,直接sudo kill PID解决. 2.强制解锁--命令: sudo rm /var/cache/apt/archives/lock sudo rm /var/lib/dpkg/lock 解释: "dpkg

  • ubuntu backup and recovery software 2010-10-12

    ubuntu is my first linux system to use, can be described as love at first sight, because apt-get is really handy, easy to download software and upgrades. Install ubuntu from the beginning to the present, has been installed from source a lot of stuff,

  • Deb package under Ubuntu backup and restore 2010-12-31

    1. Backup and Restore Quickly set back up the downloaded part of the package to reinstall the system again, without having to re-download time tar cizvf backup.tar.gz / var / cache / apt / archives - exclude = / var / cache / apt / archives / partial

  • [转]Ubuntu 12.04软件中心安装flash插件过程失败解决办法 2012-09-23

    安装了Ubuntu12.04后,我使用火狐浏览器登录百度文库搜一些介绍curses库的资料,发现浏览器没有flash插件,这时贴心的火狐娘提示我安装缺失插件,于是就按照提示更新插件,在安装向导中,我选择了adobeflash插件. 然而等了半个小时,flash插件还没下载完,因为还有其他软件要下载,于是我点击取消下载flash插件,结果过了半个小时还是卡在那里: 我想,既然软件中心没法下载了,那么在终端中使用apt-get install命令下载吧.结果: " E:无法获得锁/var/lib/d