[Touch-packages] [Bug 1577926] Re: apt-key works fine, yet apt fails with "Could not execute 'apt-key'"

2018-12-04 Thread mila nuts
i had the same error while chroot-ing from arch linux into ubuntu linux. fixed the bug with: PATH="$PATH:/bin:/sbin" [and maybe `echo 'APT::Sandbox::User "root";' >/etc/apt/apt.conf.d/00temp`] running `source /etc/profile` did not help. -- You received this bug notification because you are a

[Touch-packages] [Bug 1806728] [NEW] shell config /etc/profile does not set $PATH

2018-12-04 Thread mila nuts
Public bug reported: lsb_release -rd Description:Ubuntu 16.04.5 LTS Release:16.04 apt-cache policy base-files base-files: Installed: 9.4ubuntu4.7 grep -e PATH -e environment /usr/share/base-files/profile | wc -l 0 expectation: /etc/profile should source /etc/environment to set

[Touch-packages] [Bug 1577926] Re: apt-key works fine, yet apt fails with "Could not execute 'apt-key'"

2018-12-04 Thread mila nuts
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 -- You received this bug notification because