Ubuntu报错记录(Could not get lock /var/lib/dpkg/lock-frontend问题的解决方法)
生活随笔
收集整理的這篇文章主要介紹了
Ubuntu报错记录(Could not get lock /var/lib/dpkg/lock-frontend问题的解决方法)
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
今天遇上這個報錯,簡單記錄一下
$ sudo apt-get upgrade 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?出現這個問題可能是有另外一個程序正在運行,導致資源被鎖不可用。而導致資源被鎖的原因可能是上次運行安裝或更新時沒有正常完成,才導致這個問題發生。
解決方法:
刪掉之前遺留下來的進程
然后再運行之前代碼
ak666@ubuntu:~$ sudo apt-get upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back:apt apt-utils dpkg libapt-pkg5.0 linux-generic-hwe-16.04linux-headers-generic-hwe-16.04 linux-image-generic-hwe-16.04ubuntu-advantage-tools ubuntu-desktop update-notifierupdate-notifier-common總結
以上是生活随笔為你收集整理的Ubuntu报错记录(Could not get lock /var/lib/dpkg/lock-frontend问题的解决方法)的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: CSAPP实验二进制炸弹
- 下一篇: 镇江职业技能大赛