📅  最后修改于: 2022-03-11 14:57:40.648000             🧑  作者: Mango
#You can delete the lock file with the following command.
sudo rm /var/lib/apt/lists/lock
#You may also need to delete the lock file in the cache directory
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock