Apt install of local deb files shows a notification causing confusion

Bug #1922786 reported by Fredrik Lindersson on 2021-04-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apt (Ubuntu)
Undecided
Unassigned

Bug Description

Installation for a local deb file shows a notification message that causes a lot of confusion whether the package has been successfully installed or not.

Steps to reproduce
=====================
- Download a package file (xxx.deb)
- Install the package file from command line "sudo apt install ./xxx.deb"
- A notification messages shows up at the end of the installation saying:
 "Download is performed unsandboxed as root as file '/home/fredli/harddisc/External/Nordic/nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)"

-> Expected no notification or warnings if installation finished successfully.

It seems that this is only "Notifcation message" BUT it causes a lot of confusion whether the package has been installed or not. The package seems to be installed correctly from what I understand.

$ apt --version
apt 2.2.2 (amd64)

$ lsb_release -rd
Description: Ubuntu Hirsute Hippo (development branch)
Release: 21.04

Full log:
======================
$ sudo apt install ./nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'nrf-command-line-tools' instead of './nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb'
The following NEW packages will be installed:
  nrf-command-line-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
After this operation, 22,6 MB of additional disk space will be used.
Get:1 /home/fredli/harddisc/External/Nordic/nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb nrf-command-line-tools amd64 10.12.1 [3 406 kB]
Selecting previously unselected package nrf-command-line-tools.
(Reading database ... 149444 files and directories currently installed.)
Preparing to unpack .../nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb ...
Unpacking nrf-command-line-tools (10.12.1) ...
Setting up nrf-command-line-tools (10.12.1) ...
N: Download is performed unsandboxed as root as file '/home/fredli/harddisc/External/Nordic/nRF-Command-Line-Tools_10_12_1_Linux-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers