i was successfully installed atom but from offline package and at the end of installation show this message? anyone can explain it? thx B4...

N: Can't drop privileges for downloading as file '/home/kk2id/Desktop/atom-amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)


You can use the Chai T. Rex method for single install:

sudo apt -o APT::Sandbox::User=root install --reinstall ./package-name.deb

As I already wrote in comment 80 of bug-report 1522675:

I removed warning messages by setting APT::Sandbox::User to "root" with

cat <<EOF | sudo tee /etc/apt/apt.conf.d/99z-anti-drop
APT::Sandbox::User "root";


I do not know is it secure or not. But it works as expected!

It removes such warnings permanently. You can use it at your own risk.

  • 1
    It's probably better to use the nonpermanent sudo apt -o APT::Sandbox::User=root install --reinstall ./atom-amd64.deb – Chai T. Rex Jul 7 '18 at 19:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.