[Bug 1922786] [NEW] Apt install of local deb files shows a notification causing confusion
Fredrik Lindersson
1922786 at bugs.launchpad.net
Tue Apr 6 18:51:19 UTC 2021
Public bug reported:
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)
** Affects: apt (Ubuntu)
Importance: Undecided
Status: New
** Tags: hirsute
--
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:
New
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