Config Server Firewall

[Solved] Download is Performed Unsandboxed as Root as File

When installing a .deb package, you may encounter a message that says: Download is performed unsandboxed as root as file.

Download is performed unsandboxed as root as file '/home/user1/libgl1-mesa-glx_23.0.4-0ubuntu1~22.04.1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
download is performed unsandboxed as root as file

It's Not an Error

First of all, this is not an error message. It’s just a notice — something you can completely ignore. It won’t stop the installation, and it doesn’t mean anything is wrong.

Why the Message Appears

This message shows up when you put the .deb package in a folder not owned by the root user. It’s just a security-related message to let you know the file is being accessed by root in a location that isn't owned by root.

How to Avoid the Message

If you don’t want to see the message in the future, simply save the .deb package in a folder owned by root before installing it.

But You Don’t Have to Do That

The important thing is — you don’t need to fix it. You can just ignore the message, because it doesn’t affect the installation or the functionality of your system.