标签:help style class main lis 提示 recv sources sudo
更换清华源:https://mirrors.tuna.tsinghua.edu.cn/help/raspbian/
注意树莓派4B的Respbian是基于Debian 10 Bluster 不要选错。
根据提示修改:
# 编辑 `/etc/apt/sources.list` 文件,删除原文件所有内容,用以下内容取代: deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ buster main non-free contrib # 编辑 `/etc/apt/sources.list.d/raspi.list` 文件,删除原文件所有内容,用以下内容取代: deb http://mirrors.tuna.tsinghua.edu.cn/raspberrypi/ buster main ui
sudo apt-get update后报错
The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY XXXXXXXXXXXX
直接添加该KEY解决
sudo apt-key adv –keyserver keyserver.ubuntu.com –recv-keys XXXXXXXXX
标签:help style class main lis 提示 recv sources sudo
原文地址:https://www.cnblogs.com/bodom/p/11726980.html