Apt install of local deb files shows a notification causing confusion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
Triaged
|
Low
|
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/
-> 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-
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'nrf-command-
The following NEW packages will be installed:
nrf-command-
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/
Selecting previously unselected package nrf-command-
(Reading database ... 149444 files and directories currently installed.)
Preparing to unpack .../nRF-
Unpacking nrf-command-
Setting up nrf-command-
N: Download is performed unsandboxed as root as file '/home/
Changed in apt (Ubuntu): | |
importance: | Undecided → Medium |
importance: | Medium → Low |
status: | New → Triaged |
DISTRIB_ID=Ubuntu RELEASE= 22.04 CODENAME= jammy DESCRIPTION= "Ubuntu 22.04 LTS"
DISTRIB_
DISTRIB_
DISTRIB_
# Bug chrome- stable' instead of './google- chrome- stable_ current_ amd64.deb' chrome- stable vmw/Downloads/ google- chrome- stable_ current_ amd64.deb google- chrome- stable amd64 101.0.4951.41-1 [84.4 MB] chrome- stable. chrome- stable_ current_ amd64.deb ... chrome- stable (101.0.4951.41-1) ... chrome- stable (101.0.4951.41-1) ... alternatives: using /usr/bin/ google- chrome- stable to provide /usr/bin/ x-www-browser (x-www-browser) in auto mode alternatives: using /usr/bin/ google- chrome- stable to provide /usr/bin/ gnome-www- browser (gnome-www-browser) in au alternatives: using /usr/bin/ google- chrome- stable to provide /usr/bin/ google- chrome (google-chrome) in auto mode hstest- vmw/Downloads/ google- chrome- stable_ current_ amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'google-
The following NEW packages will be installed:
google-
0 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
Need to get 0 B/84.4 MB of archives.
After this operation, 274 MB of additional disk space will be used.
Get:1 /home/hstest-
Selecting previously unselected package google-
(Reading database ... 174260 files and directories currently installed.)
Preparing to unpack .../google-
Unpacking google-
Setting up google-
update-
update-
to mode
update-
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for man-db (2.10.2-1) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu3) ...
N: Download is performed unsandboxed as root as file '/home/