关于安装

关于安装
madhusudan@ubuntu:~$ apt-get update
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
madhusudan@ubuntu:~$ 

我该怎么做才能解决这个问题?

答案1

该问题通常是由于非 root 身份导致的。

您可以通过运行来解决这个问题sudo apt-get update

相关内容