2

I'm trying to install rainlendar-lite on ubuntu 18.04.1 and keep getting

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)

EDIT: Thanks everyone. I've given up on installing rainlendar 2.14, and gone back to rainlendar 2.13, which works fine. In checking on the rainlendar forum, some people are having the same issues I'm having, but not everyone (a really bizarre problem that only affects some users???). So for now, my issue is solved, but not the install problem with rainlendar 2.14. Thanks again.

2 Answers2

2

APT, the package manager, expects certain working routines and handles certain security policies. You get a warning about the file you want to install. However, the install itself went fine.

Another way to proceed installing downloaded .deb files is with the dpkg command..

sudo dpkg -i rainlendar2-lite_2.14.2.b157-1_amd64.deb

If certain dependencies are not met, the install will not succeed. Then, you can rely on the package manager to download and install all dependencies automatically, and finish the installation with the command

sudo apt-get install -f

This will complete the installation, provided all dependencies required by the deb indeed are available in the software repositories. The installation will not proceed if error messages are issued related to dependencies that cannot be satisfied because they are not available.

vanadium
  • 97,564
2

The installation succeeded. The message prefixed with N: is a notice about a potential issue that didn’t prevent the installation (or whatever task you gave Apt).

The message is actually caused by the known bug #1522675.

David Foerster
  • 36,890
  • 56
  • 97
  • 151