安装 .deb 包被中断问题


  • 管理员


    安装 .deb 包被中断,导致重启也不能再次进行安装,报错:

    only one software management tool is allowed to run restarting is not work

    解决方法:

    Make sure software centre is not open and that updates are not running.

    使用:

    sudo rm -f /var/lib/dpkg/lock 
    

    可以解锁 software installer programs

    然后执行:

    sudo fuser -vki /var/lib/dpkg/lock
    sudo dpkg --configure -a
    

    即可解决。


Log in to reply