我在终端中运行更新和下载软件时遇到问题

我在终端中运行更新和下载软件时遇到问题

每次我尝试更新我的软件时,都是这样说的......

mint@mint ~ $ apt-get 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)

答案1

您的mint用户没有执行该apt-get命令的权限。

请尝试运行以下命令。

sudo apt-get update

相关内容