Removing the _apt user as a suggested work-around does not work for me on Ubuntu Server upgraded fro 14.04 to 16.04.
This is what I see:
root@XXX:~# apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Err:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:3 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease
Err:3 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]
Err:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Fetched 95.7 kB in 0s (147 kB/s)
Reading package lists... Done
W: No sandbox user '_apt' on the system, can not drop privileges
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com/ubuntu xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com/ubuntu xenial-security InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-updates/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Failed to fetch http://us.archive.ubuntu.com/ubuntu/dists/xenial-security/InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: Some index files failed to download. They have been ignored, or old ones used instead.
Removing the _apt user as a suggested work-around does not work for me on Ubuntu Server upgraded fro 14.04 to 16.04.
This is what I see:
root@XXX:~# apt-get update us.archive. ubuntu. com/ubuntu xenial InRelease us.archive. ubuntu. com/ubuntu xenial InRelease us.archive. ubuntu. com/ubuntu xenial-security InRelease us.archive. ubuntu. com/ubuntu xenial-security InRelease us.archive. ubuntu. com/ubuntu xenial-updates InRelease [95.7 kB] us.archive. ubuntu. com/ubuntu xenial-updates InRelease us.archive. ubuntu. com/ubuntu xenial InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) us.archive. ubuntu. com/ubuntu xenial-security InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) us.archive. ubuntu. com/ubuntu xenial-updates InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?) us.archive. ubuntu. com/ubuntu/ dists/xenial/ InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) us.archive. ubuntu. com/ubuntu/ dists/xenial- updates/ InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?) us.archive. ubuntu. com/ubuntu/ dists/xenial- security/ InRelease Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:1 http://
Err:1 http://
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Hit:3 http://
Err:3 http://
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Get:2 http://
Err:2 http://
Could not execute 'apt-key' to verify signature (is gnupg installed?)
Fetched 95.7 kB in 0s (147 kB/s)
Reading package lists... Done
W: No sandbox user '_apt' on the system, can not drop privileges
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Some index files failed to download. They have been ignored, or old ones used instead.