我的锁文件在哪里?mysql

我的锁文件在哪里?mysql

下面是我的控制台输出,我不知道如何继续,有人可以提供一些指导吗?

apt-get install mysql-server
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following extra packages will be installed:
      libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl mysql-client-5.5 mysql-server-5.5 mysql-server-core-5.5
    Suggested packages:
      libipc-sharedcache-perl libterm-readkey-perl tinyca
    The following NEW packages will be installed:
      libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libnet-daemon-perl libplrpc-perl mysql-client-5.5 mysql-server mysql-server-5.5 mysql-server-core-5.5
    0 upgraded, 10 newly installed, 0 to remove and 0 not upgraded.
    E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/cache/apt/archives/

答案1

经过一番探索后,此页面上的帖子解决了我的问题,关闭这个锄头!

无法锁定管理目录(/var/lib/dpkg/),是否有另一个进程正在使用它?

相关内容