Linux: could not open lock file /var/lib/dpkg/lock -open (13: Permission denied)

Posted 大大大大大桃子

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Linux: could not open lock file /var/lib/dpkg/lock -open (13: Permission denied)相关的知识,希望对你有一定的参考价值。

报错: could not open lock file /var/lib/dpkg/lock -open (13: Permission denied)
Unable to lock the administration directory (/var/lib/dpkg)

Permission denied 的话使用sudo执行即可, 比如:

sudo apt install -f

以上是关于Linux: could not open lock file /var/lib/dpkg/lock -open (13: Permission denied)的主要内容,如果未能解决你的问题,请参考以下文章

NFS启动时报错Linux NFS:could not open connection for tcp6

VS 2019,Tensorflow 2.6 C++,tensorflow::TensorInfo name()导致The procedure entry point could not be loc

Could not open Hibernate Session for transaction; nested exception is org.hibernate.TransactionExcep

Linux实战问题解决方案:Could not get lock

ubuntu安装软件提示:Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)(

linux 遇见错误Could not get lock /var/lib/dpkg/lock