Running here Debian 9.5/Antix 17 in amd64, in a Lenovo ThinkPad E560.
I am having a strange error in
apt / apt-get when doing
apt-get download sudo.
Interesting enough, it only happens when running the command as root.
# apt-get download sudo Get:1 http://ftp.us.debian.org/debian stretch/main amd64 sudo amd64 1.8.19p1-2.1 [1,055 kB] Fetched 1,055 kB in 2s (352 kB/s) W: Download is performed unsandboxed as root as file '/home/xdlta55/sudo_1.8.19p1-2.1_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
The error also won't appear if the deb file is already there.
I thought a
apt download should have it's bussiness finished as soon at it downloaded the deb file, What is happenning here?
PS. I know this command can and should not be run as root.
strace did not show anything meaningful.