首页 > 代码库 > linux使用

linux使用

1.dpkg: error: dpkg status database is locked by another process

   解决办法:sudo rm -rf /var/lib/dpkg/lock

2.在64位系统上安装ia32-libs后(Ubuntu执行:sudo apt-get install ia32-libs)

3.ERROR: /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable

  $ sudo fuser /var/cache/debconf/config.dat
     /var/cache/debconf/config.dat: 4503

  $ ps aux | grep 4503
    root 4503 0.0 0.8 10816 9088 ? S 08:39 0:00 /usr/bin/perl -w /usr/share/debconf/frontend /usr/sbin/update-grub

    $ sudo kill 4503

  After killing the process (4503 in this case) and running update-manager again, the upgrade can be completed successfully.

 

更多0