Article 55T9X Could not create temporary gpg home directory in (wrong permissions?)

Could not create temporary gpg home directory in (wrong permissions?)

by
pizpower
from LinuxQuestions.org on (#55T9X)
Hello,

Am having an issue when doing apt-get update/upgrade.

errors am having:

Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [111 kB]
Err:1 http://archive.ubuntu.com/ubuntu focal InRelease
Could not create temporary gpg home directory in (wrong permissions?)
Get:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease [98.3 kB]
Err:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Could not create temporary gpg home directory in (wrong permissions?)
Ign:4 http://download.webmin.com/download/repository sarge InRelease
Get:5 http://archive.ubuntu.com/ubuntu focal-security InRelease [107 kB]
Err:3 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Could not create temporary gpg home directory in (wrong permissions?)
Err:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
Could not create temporary gpg home directory in (wrong permissions?)
Get:6 http://download.webmin.com/download/repository sarge Release [16.9 kB]
Get:7 http://download.webmin.com/download/repository sarge Release.gpg [173 B]
Err:7 http://download.webmin.com/download/repository sarge Release.gpg
Could not create temporary gpg home directory in (wrong permissions?)
Fetched 334 kB in 1s (281 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu focal InRelease: Could not create temporary gpg home directory in (wrong permissions?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu focal-updates InRelease: Could not create temporary gpg home directory in (wrong permissions?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu focal-backports InRelease: Could not create temporary gpg home directory in (wrong permissions?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://archive.ubuntu.com/ubuntu focal-security InRelease: Could not create temporary gpg home directory in (wrong permissions?)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://download.webmin.com/download/repository sarge Release: Could not create temporary gpg home directory in (wrong permissions?)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/focal/InRelease Could not create temporary gpg home directory in (wrong permissions?)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...ates/InRelease Could not create temporary gpg home directory in (wrong permissions?)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...orts/InRelease Could not create temporary gpg home directory in (wrong permissions?)
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...rity/InRelease Could not create temporary gpg home directory in (wrong permissions?)
W: Failed to fetch http://download.webmin.com/download/...ge/Release.gpg Could not create temporary gpg home directory in (wrong permissions?)
W: Some index files failed to download. They have been ignored, or old ones used instead.

---

Permissions:

drwx------ 2 root root 4096 Apr 29 13:05 private-keys-v1.d
-rw------- 1 root root 31803 Apr 29 14:29 pubring.kbx
-rw------- 1 root root 29402 Apr 29 14:29 pubring.kbx~
srwx------ 1 root root 0 Apr 30 14:30 S.gpg-agent
srwx------ 1 root root 0 Apr 30 14:30 S.gpg-agent.browser
srwx------ 1 root root 0 Apr 30 14:30 S.gpg-agent.extra
srwx------ 1 root root 0 Apr 30 14:30 S.gpg-agent.ssh
-rw------- 1 root root 49152 Apr 29 13:05 tofu.db
-rw------- 1 root root 1200 Apr 29 13:11 trustdb.gpg

Can someone help please?

Thanks.latest?d=yIl2AUoC8zA latest?i=PSp9izHcLIc:GLXEFPsHUh8:F7zBnMy latest?i=PSp9izHcLIc:GLXEFPsHUh8:V_sGLiP latest?d=qj6IDK7rITs latest?i=PSp9izHcLIc:GLXEFPsHUh8:gIN9vFwPSp9izHcLIc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments