It's My Life

提示chmod 0700 of directory /var/lib/apt/lists/partial failed

06.16 风铃夜语评论👁️161


在安装RASPBIAN STRETCH LITE OS时,执行apt-get update出错:

apt update
Reading package lists... Done
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)

提示chmod 0700 of directory /var/lib/apt/lists/partial failed
这就是提示权限不够,使用:

sudo apt-get update

问题解决。


扫描二维码,在手机上阅读!

🏷️ : 0

⚜️

到处看看:

⚜️

说点啥?