apt-get update 升级错误

W: GPG error: http://mirrors.cloud.aliyuncs.com/ubuntu xenial-backports InRelease: Could not execute 'apt-key' to verify signature (is gnupg installed?)
W: The repository 'http://mirrors.cloud.aliyuncs.com/ubuntu xenial-backports InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.

因为tmp 文件夹权限不够

 

 

chmod 777 /tmp

apt-get update --allow-unauthenticated

 

参考:https://blog.csdn.net/gpf19930310/article/details/82461306

posted on 2021-04-07 20:56  cltt  阅读(568)  评论(0编辑  收藏  举报

导航