I'm trying to update promox, but am getting an error and not really sure how to fix it.
I also checked the "apt-key list" referenced in the error and there was this warning at the top
Code:
Get:1 http://ftp.debian.org/debian bullseye InRelease [116 kB]
Err:1 http://ftp.debian.org/debian bullseye InRelease
Couldn't create temporary file /tmp/apt.conf.DY6WEN for passing config to apt-key
Get:2 http://security.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Err:2 http://security.debian.org/debian-security bullseye-security InRelease
Couldn't create temporary file /tmp/apt.conf.XmstPO for passing config to apt-key
Get:3 http://ftp.debian.org/debian bullseye-updates InRelease [44.1 kB]
Err:3 http://ftp.debian.org/debian bullseye-updates InRelease
Couldn't create temporary file /tmp/apt.conf.FpikOU for passing config to apt-key
Get:4 http://download.proxmox.com/debian/pve bullseye InRelease [2661 B]
Err:4 http://download.proxmox.com/debian/pve bullseye InRelease
Couldn't create temporary file /tmp/apt.conf.hkYHUV for passing config to apt-key
Reading package lists...
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org/debian bullseye InRelease: Couldn't create temporary file /tmp/apt.conf.DY6WEN for passing config to apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org/debian-security bullseye-security InRelease: Couldn't create temporary file /tmp/apt.conf.XmstPO for passing config to apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://ftp.debian.org/debian bullseye-updates InRelease: Couldn't create temporary file /tmp/apt.conf.FpikOU for passing config to apt-key
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.proxmox.com/debian/pve bullseye InRelease: Couldn't create temporary file /tmp/apt.conf.hkYHUV for passing config to apt-key
W: Failed to fetch http://ftp.debian.org/debian/dists/bullseye/InRelease Couldn't create temporary file /tmp/apt.conf.DY6WEN for passing config to apt-key
W: Failed to fetch http://ftp.debian.org/debian/dists/bullseye-updates/InRelease Couldn't create temporary file /tmp/apt.conf.FpikOU for passing config to apt-key
W: Failed to fetch http://security.debian.org/debian-security/dists/bullseye-security/InRelease Couldn't create temporary file /tmp/apt.conf.XmstPO for passing config to apt-key
W: Failed to fetch http://download.proxmox.com/debian/pve/dists/bullseye/InRelease Couldn't create temporary file /tmp/apt.conf.hkYHUV for passing config to apt-key
W: Some index files failed to download. They have been ignored, or old ones used instead.
TASK OK
I also checked the "apt-key list" referenced in the error and there was this warning at the top
Code:
Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
/etc/apt/trusted.gpg.d/debian-archive-bullseye-automatic.gpg
------------------------------------------------------------
pub rsa4096 2021-01-17 [SC] [expires: 2029-01-15]
1F89 983E 0081 FDE0 18F3 CC96 73A4 F27B 8DD4 7936
uid [ unknown] Debian Archive Automatic Signing Key (11/bullseye) <ftpmaster@debian.org>
sub rsa4096 2021-01-17 [S] [expires: 2029-01-15]
/etc/apt/trusted.gpg.d/debian-archive-bullseye-security-automatic.gpg