- 解决方法:输入以下命令
rm /var/lib/apt/lists/lock
E297: Write error in swap file
rm -rf /var/tmp/*.swp
2。强制解锁,命令
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
文章同时也会在我的博客 0ne0ne.com同步更新。
rm /var/lib/apt/lists/lock
E297: Write error in swap file
rm -rf /var/tmp/*.swp
2。强制解锁,命令
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock
文章同时也会在我的博客 0ne0ne.com同步更新。