My All servers are on AWS and facing same issue in multiple servers.unable to update server.I have spent manny days on troubleshooting this issue.but did not find solution.
but at Last i got this command
echo 'APT::Sandbox::User "root";' >/etc/apt/apt.conf.d/00temp
it works and now i can update repository.
Q.1 Why i have to run this command ? anyone know exact reason behind this.
Q.2 Is this a type of security hole ?
# apt update deb.debian. org/debian unstable InRelease [161 kB] /artifacts. elastic. co/packages/ 7.x/apt stable InRelease [10.4 kB] deb.debian. org/debian unstable InRelease /artifacts. elastic. co/packages/ 7.x/apt stable InRelease ppa.launchpad. net/deadsnakes/ ppa/ubuntu bionic InRelease [15.9 kB] apt.postgresql. org/pub/ repos/apt bionic-pgdg InRelease [110 kB] ppa.launchpad. net/deadsnakes/ ppa/ubuntu bionic InRelease us.archive. ubuntu. com/ubuntu bionic InRelease [242 kB] security. ubuntu. com/ubuntu bionic-security InRelease [88.7 kB] apt.postgresql. org/pub/ repos/apt bionic-pgdg InRelease security. ubuntu. com/ubuntu bionic-security InRelease us.archive. ubuntu. com/ubuntu bionic InRelease us.archive. ubuntu. com/ubuntu bionic-updates InRelease [88.7 kB] us.archive. ubuntu. com/ubuntu bionic-updates InRelease /repos. citusdata. com/community/ ubuntu bionic InRelease [23.2 kB] /repos. citusdata. com/community/ ubuntu bionic InRelease deb.debian. org/debian unstable InRelease: Unknown error executing apt-key deb.debian. org/debian unstable InRelease' is not signed. /artifacts. elastic. co/packages/ 7.x/apt stable InRelease: Unknown error executing apt-key /artifacts. elastic. co/packages/ 7.x/apt stable InRelease' is not signed. ppa.launchpad. net/deadsnakes/ ppa/ubuntu bionic InRelease: Unknown error executing apt-key ppa.launchpad. net/deadsnakes/ ppa/ubuntu bionic InRelease' is not signed. apt.postgresql. org/pub/ repos/apt bionic-pgdg InRelease: Unknown error executing apt-key apt.postgresql. org/pub/ repos/apt bionic-pgdg InRelease' is not signed. security. ubuntu. com/ubuntu bionic-security InRelease: Unknown error executing apt-key security. ubuntu. com/ubuntu bionic-security InRelease' is not signed. us.archive. ubuntu. com/ubuntu bionic InRelease: Unknown error executing apt-key us.archive. ubuntu. com/ubuntu bionic InRelease' is not signed. us.archive. ubuntu. com/ubuntu bionic-updates InRelease: Unknown error executing apt-key us.archive. ubuntu. com/ubuntu bionic-updates InRelease' is not signed. /repos. citusdata. com/community/ ubuntu bionic InRelease: Unknown error executing apt-key /repos. citusdata. com/community/ ubuntu bionic InRelease' is not signed.
Get:1 http://
Get:2 https:/
Err:1 http://
Unknown error executing apt-key
Err:2 https:/
Unknown error executing apt-key
Get:3 http://
Get:4 http://
Err:3 http://
Unknown error executing apt-key
Get:5 http://
Get:6 http://
Err:4 http://
Unknown error executing apt-key
Err:6 http://
Unknown error executing apt-key
Err:5 http://
Unknown error executing apt-key
Get:8 http://
Err:8 http://
Unknown error executing apt-key
Get:7 https:/
Err:7 https:/
Unknown error executing apt-key
Reading package lists... Done
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https:/
E: The repository 'https:/
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: http://
E: The repository 'http://
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: GPG error: https:/
E: The repository 'https:/
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
My All servers are on AWS and facing same issue in multiple servers.unable to update server.I have spent manny days on troubleshooting this issue.but did not find solution.
but at Last i got this command
echo 'APT::Sandbox::User "root";' >/etc/apt/ apt.conf. d/00temp
it works and now i can update repository.
Q.1 Why i have to run this command ? anyone know exact reason behind this.
Q.2 Is this a type of security hole ?
FYI @David Kalnischkies @mila nuts