Could not get lock varlibdpkglock解决办法

    xiaoxiao2024-11-19  11

    在使用sudo apt upgrade的时候出现问题:

    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 /var/lib/apt/lists/lock

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

    最新回复(0)