What does the N: mean? Encountering error while installing a deb package "N: Download is performed unsandboxed as root.." Install is successful though
I get the error everytime I try installing it. I tried purging and reinstalling but it did not help. I also tried changing permissions like this post here suggessted. Same result.
sudo apt install /home/privileged/Downloads/brave/vivaldi-stable_3.8.2259.42-1_amd64.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'vivaldi-stable' instead of '/home/privileged/Downloads/brave/vivaldi-stable_3.8.2259.42-1_amd64.deb'
Recommended packages: adobe-flashplugin
The following NEW packages will be installed: vivaldi-stable
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/82.5 MB of archives.
After this operation, 282 MB of additional disk space will be used.
Get:1 /home/privileged/Downloads/brave/vivaldi-stable_3.8.2259.42-1_amd64.deb vivaldi-stable amd64 3.8.2259.42-1 [82.5 MB]
Selecting previously unselected package vivaldi-stable.
(Reading database ... 257032 files and directories currently installed.)
Preparing to unpack .../vivaldi-stable_3.8.2259.42-1_amd64.deb ...
Unpacking vivaldi-stable (3.8.2259.42-1) ...
Setting up vivaldi-stable (3.8.2259.42-1) ...
update-alternatives: using /usr/bin/vivaldi-stable to provide /usr/bin/vivaldi (vivaldi) in auto mode
Processing triggers for desktop-file-utils (0.23-4) ...
Processing triggers for mime-support (3.62) ...
Processing triggers for bamfdaemon (0.5.4-1) ...
Rebuilding /usr/share/applications/bamf-2.index...
N: Download is performed unsandboxed as root as file '/home/privileged/Downloads/brave/vivaldi-stable_3.8.2259.42-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)Running a debian 10 with xorg and xfce4.
51 Answer
This appears to be an informational warning only. From Unix SE: What does the error line prefix w mean like from apt get or other similar
Nis for notices. A notice is something that the program wants you to be aware of but that is not a warning. A typical notice fromaptisN: There is 1 additional version. Please use the '-a' switch to see it.
Your specific error message
N: Download is performed unsandboxed as root as file '/home/privileged/Downloads/brave/vivaldi-stable_3.8.2259.42-1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Appears to be stating that your download was performed as root and as such the sandboxed user (_apt) that apt uses to perform the checks/download on it prior to extraction and installation could not access it.
It is not really an error but a notice that the system could not verify the package it was installing and is just making you aware there there is something outside of the "normal" going on.