赞
踩
使用wsl(windows11上安装的ubuntu20.04子系统)安装gcc编译器时出现
unable to locate package gcc
大多数方法都是更换镜像源,按照大多数教程更改镜像源之后,镜像源总是更新失败
所以按照错误提示去搜索了镜像源更新失败的原因
The following signatures couldn't be verified because the public key is not available : NO_PUBKEY 5523BAEEB01FA116
1、
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 5523BAEEB01FA116
其中的5523BAEEB01FA116
是根据错误提示写的
2、重新执行
sudo apt update
即可
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。