Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

N: Download is performed unsandboxed as root as file #198

Open
joshschmelzle opened this issue Sep 19, 2024 · 0 comments
Open

N: Download is performed unsandboxed as root as file #198

joshschmelzle opened this issue Sep 19, 2024 · 0 comments

Comments

@joshschmelzle
Copy link
Member

Jerry ran into this error when installing profiler on vanilla bookworm. Based on the thread in Slack, this did not prevent profiler from working.

Snip:

N: Download is performed unsandboxed as root as file '/home/jerry/wlanpi-profiler_1.0.18_arm64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)

Longer debug output:

jerry@raspberrypi:~ $ sudo apt install ./wlanpi-profiler_1.0.18_arm64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wlanpi-profiler' instead of './wlanpi-profiler_1.0.18_arm64.deb'
The following NEW packages will be installed:
  wlanpi-profiler
0 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
Need to get 0 B/8,051 kB of archives.
After this operation, 44.0 MB of additional disk space will be used.
Get:1 /home/jerry/wlanpi-profiler_1.0.18_arm64.deb wlanpi-profiler arm64 1.0.18 [8,051 kB]
Selecting previously unselected package wlanpi-profiler.
(Reading database ... 58527 files and directories currently installed.)
Preparing to unpack .../wlanpi-profiler_1.0.18_arm64.deb ...
Unpacking wlanpi-profiler (1.0.18) ...
Setting up wlanpi-profiler (1.0.18) ...
wlanpi-profiler.service is a disabled or a static unit not running, not starting it.
Processing triggers for man-db (2.11.2-2) ...
N: Download is performed unsandboxed as root as file '/home/jerry/wlanpi-profiler_1.0.18_arm64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)


jerry@raspberrypi:~ $ sudo apt install ./wlanpi-profiler_1.0.18_arm64.deb 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'wlanpi-profiler' instead of './wlanpi-profiler_1.0.18_arm64.deb'
wlanpi-profiler is already the newest version (1.0.18).
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
jerry@raspberrypi:~ $ 

For installation, I had him install with these instructions:

wget --content-disposition "https://packagecloud.io/wlanpi/dev/packages/debian/bookworm/wlanpi-profiler_1.0.18_arm64.deb/download.deb?distro_version_id=215"
sudo apt install ./wlanpi-profiler_1.0.18_arm64.deb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant