无法打开锁定文件 /var/lib/apt/lists/lock - 打开(13:权限被拒绝)(以 sudo 身份运行)

无法打开锁定文件 /var/lib/apt/lists/lock - 打开(13:权限被拒绝)(以 sudo 身份运行)

我正在尝试在全新的 Lubuntu 20.04 安装上安装 Veeam Agent。我已经下载了最新的 Veeam 软件包,但是当我尝试安装时却收到此消息:

 ~/Downloads$ sudo dpkg -i ./veeam-release* && apt-get update
 (Reading database ... 268018 files and directories currently installed.)
 Preparing to unpack .../veeam-release-deb_1.0.8_amd64.deb ...
 Unpacking veeam-release-deb (1.0.8) over (1.0.8) ...
 Setting up veeam-release-deb (1.0.8) ...
 Reading package lists... Done
 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)

我试过了:

  • 重新启动
  • “sudo su”然后重复该过程
  • sudo apt-get 更新

有任何想法吗??

相关内容