我正在尝试在 ubuntu 18.04.1 上安装 rainlendar-lite,但一直
Download is performed unsandboxed as root as file '/home/jim/Downloads/rainlendar2-lite_2.14.2.b157-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
jim@jim-Z1-7623:~/Downloads$ sudo apt-get install ./rainlendar2-lite_2.14.2.b157-1_amd64.deb
[sudo] password for jim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'rainlendar2-lite' instead of './rainlendar2-lite_2.14.2.b157-1_amd64.deb'
The following NEW packages will be installed:
rainlendar2-lite
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 0 B/17.9 MB of archives.
After this operation, 20.5 MB of additional disk space will be used.
Get:1 /home/jim/Downloads/rainlendar2-lite_2.14.2.b157-1_amd64.deb rainlendar2-lite amd64 2.14.2.b157-1 [17.9 MB]
Selecting previously unselected package rainlendar2-lite.
(Reading database ... 180109 files and directories currently installed.)
Preparing to unpack .../rainlendar2-lite_2.14.2.b157-1_amd64.deb ...
Unpacking rainlendar2-lite (2.14.2.b157-1) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.1) ...
Setting up rainlendar2-lite (2.14.2.b157-1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1) ...
N: Download is performed unsandboxed as root as file '/home/jim/Downloads/rainlendar2-lite_2.14.2.b157-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
编辑:谢谢大家。我已经放弃安装雨伦达 2.14,然后回到雨伦达 2.13,效果很好。在检查rainlendar论坛,有些人遇到了和我一样的问题,但不是每个人都遇到了(一个只影响部分用户的奇怪问题???)。所以现在,我的问题解决了,但安装问题还没有解决雨伦达 2.14。 再次感谢。
答案1
安装成功。以 为前缀的消息N:
是n通知有关潜在问题,但该问题并未阻止安装(或您给予 Apt 的任何任务)。
该消息实际上是由已知错误 #1522675。
答案2
软件包管理器 APT 需要特定的工作例程并处理特定的安全策略。您会收到有关要安装的文件的警告。但是,安装本身进展顺利。
继续安装下载的 .deb 文件的另一种方法是使用 dpkg 命令。
sudo dpkg -i rainlendar2-lite_2.14.2.b157-1_amd64.deb
如果某些依赖项不满足,安装将不会成功。然后,您可以依靠包管理器自动下载并安装所有依赖项,并使用命令完成安装
sudo apt-get install -f
这将完成安装,前提是 deb 所需的所有依赖项确实在软件存储库中可用。如果发出与依赖项不可用而无法满足相关的错误消息,则安装将无法继续。