Couldn’t create temporary file /tmp/apt.conf.MfUI8N for passing config to apt-key
Reading package lists… Done
W: GPG error: http://repo.huaweicloud.com/ubuntu bionic InRelease: Couldn’t create temporary file /tmp/apt.conf.TSLBYI for passing config to apt-key
E: The repository ‘http://repo.huaweicloud.com/ubuntu bionic InRelease’ is not signed.
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://repo.huaweicloud.com/ubuntu bionic-updates InRelease: Couldn’t create temporary file /tmp/apt.conf.067SJH for passing config to apt-key
E: The repository ‘http://repo.huaweicloud.com/ubuntu bionic-updates InRelease’ is not signed.
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://repo.huaweicloud.com/ubuntu bionic-backports InRelease: Couldn’t create temporary file /tmp/apt.conf.RL3zlK for passing config to apt-key
E: The repository ‘http://repo.huaweicloud.com/ubuntu bionic-backports InRelease’ is not signed.
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://developer.download.nvidia.cn/compute/cuda/repos/ubuntu1804/x86_64 InRelease: Couldn’t create temporary file /tmp/apt.conf.IxX9YG for passing config to apt-key
E: The repository ‘https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64 InRelease’ is no longer signed.
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: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.ubuntu.com/ubuntu bionic-security InRelease: Couldn’t create temporary file /tmp/apt.conf.njf5tM 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: https://developer.download.nvidia.cn/compute/machine-learning/repos/ubuntu1804/x86_64 Release: Couldn’t create temporary file /tmp/apt.conf.MfUI8N for passing config to apt-key
解决:
chmod 777 /tmp