i had the same error while chroot-ing from arch linux into ubuntu linux.
fixed the issue with: source /etc/environment
... to set the correct $PATH
and maybe: echo 'APT::Sandbox::User "root";' >/etc/apt/apt.conf.d/00temp
... as suggested earlier
i had the same error
while chroot-ing from arch linux into ubuntu linux.
fixed the issue with:
source /etc/environment
... to set the correct $PATH
and maybe: apt.conf. d/00temp
echo 'APT::Sandbox::User "root";' >/etc/apt/
... as suggested earlier