[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#866329: apt: sandbox warning when using apt install ./example.deb



Package: apt
Version: 1.4.6

The sandbox warning is unnecessary when apt is installing a local file
that shouldn't really be downloaded. Please don't show this warning in
that case.

sudo apt install ./gnome-getting-started-docs_3.24.0-1ubuntu1_all.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'gnome-getting-started-docs' instead of
'./gnome-getting-started-docs_3.24.0-1ubuntu1_all.deb'
The following packages will be DOWNGRADED:
  gnome-getting-started-docs
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
Need to get 0 B/11.1 MB of archives.
After this operation, 2,048 B disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 /home/jeremy/devel/ubuntu/gnome-getting-started-docs/gnome-getting-started-docs_3.24.0-1ubuntu1_all.deb
gnome-getting-started-docs all 3.24.0-1ubuntu1 [11.1 MB]
dpkg: warning: downgrading gnome-getting-started-docs from
3.24.1-0ubuntu2 to 3.24.0-1ubuntu1
(Reading database ... 182902 files and directories currently installed.)
Preparing to unpack .../gnome-getting-started-docs_3.24.0-1ubuntu1_all.deb ...
Unpacking gnome-getting-started-docs (3.24.0-1ubuntu1) over
(3.24.1-0ubuntu2) ...
Setting up gnome-getting-started-docs (3.24.0-1ubuntu1) ...
N: Download is performed unsandboxed as root as file
'/home/jeremy/devel/ubuntu/gnome-getting-started-docs/gnome-getting-started-docs_3.24.0-1ubuntu1_all.deb'
couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Thanks,
Jeremy Bicha


Reply to: