我试图运行以下命令:
sudo apt-get update && apt-get upgrade
但我一直在犯这些错误
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
我在另一个答案中看到,通过使用sudo
,这些错误将得到解决。但就我而言我已经在用sudo了。如何解决这些错误?
发布于 2020-02-06 07:46:47
sudo apt-get update && sudo apt-get upgrade
前后的命令是单独的命令,所以两个命令都必须使用sudo
。
https://askubuntu.com/questions/1208449
复制相似问题