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

于 2022-06-16
0浏览  字数:115  阅读约 1 分钟

在安装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)

l4ftpod6.png 这就是提示权限不够,使用:

sudo apt-get update

问题解决。

说两句?