Hadoop问题:chmod 0700 of directory /var/lib/apt/lists/

Posted 一只猫的旅行

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Hadoop问题:chmod 0700 of directory /var/lib/apt/lists/相关的知识,希望对你有一定的参考价值。

问题描述:

apt-get update
W: chmod 0700 of directory /var/lib/apt/lists/partial failed - SetupAPTPartialDirectory (1: Operation not permitted)
E: Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied)
E: Unable to lock directory /var/lib/apt/lists/
W: Problem unlinking the file /var/cache/apt/pkgcache.bin - RemoveCaches (13: Permission denied)
W: Problem unlinking the file /var/cache/apt/srcpkgcache.bin - RemoveCaches (13: Permission denied)
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?

 

问题分析:权限不够

问题解决:sudo apt-get update

以上是关于Hadoop问题:chmod 0700 of directory /var/lib/apt/lists/的主要内容,如果未能解决你的问题,请参考以下文章

使用chmod 0700将非编码密码存储在文件夹中是否安全?

windows下:Failed to set permissions of path: \tmp\ \.staging to 0700

root权限下修改文件权限遇到 chmod: changing permissions of '***': Operation not permitted

linux-chmod: changing permissions of`XXXXXX` Operation not permitted

ioc(Inversion of Control)控制反转和DI

cosbench read异常解决办法。 Unable to verify integrity of data download. Client calculated content hash di