Linux常见问题解决方法

Posted by Mr.Be1ieVe on Monday, February 3, 2020

E: Could not get lock /var/lib/dpkg/lock-frontend - open (11: Resource temporarily unavailable) E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it?

ps -A | grep apt
sudo kill -9 processnumber

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

E: Could not get lock /var/cache/apt/archives/lock - open (11: Resource temporarily unavailable)

E: Unable to lock directory /var/cache/apt/archives/

sudo killall apt-get

sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
sudo rm /var/lib/dpkg/lock

Ubuntu-突然无法联网,且右上方没有网络标志

sudo service network-manager stop
sudo rm /var/lib/NetworkManager/NetworkManager.state 
sudo service network-manager start

来自 咲夜南梦’s 博客原地址

修改时区

https://juejin.cn/post/6844904163713761294

「真诚赞赏,手留余香」

Mr.Be1ieVe's Treasure

真诚赞赏,手留余香

使用微信扫描二维码完成支付