[Bug 1922786] Re: Apt install of local deb files shows a notification causing confusion
Harpreet Singh
1922786 at bugs.launchpad.net
Thu Apr 28 09:48:08 UTC 2022
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"
# Bug
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'google-chrome-stable' instead of './google-chrome-stable_current_amd64.deb'
The following NEW packages will be installed:
google-chrome-stable
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-vmw/Downloads/google-chrome-stable_current_amd64.deb google-chrome-stable amd64 101.0.4951.41-1 [84.4 MB]
Selecting previously unselected package google-chrome-stable.
(Reading database ... 174260 files and directories currently installed.)
Preparing to unpack .../google-chrome-stable_current_amd64.deb ...
Unpacking google-chrome-stable (101.0.4951.41-1) ...
Setting up google-chrome-stable (101.0.4951.41-1) ...
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/x-www-browser (x-www-browser) in auto mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/gnome-www-browser (gnome-www-browser) in au
to mode
update-alternatives: using /usr/bin/google-chrome-stable to provide /usr/bin/google-chrome (google-chrome) in auto mode
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/hstest-vmw/Downloads/google-chrome-stable_current_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1922786
Title:
Apt install of local deb files shows a notification causing confusion
Status in apt package in Ubuntu:
Triaged
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 manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1922786/+subscriptions
More information about the foundations-bugs
mailing list