在树莓派更新镜像源之后,发现下载一些包的时候,unable to locate package XX。
尝试多种方法皆不行。
后来发现不同的树莓派系统有不同版本,有的是stretch,有的是buster,我的系统较新,系统叫bullseye,更新之后,下载没有问题。
deb http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ bullseye main contrib non-free rpi
deb-src http://mirrors.tuna.tsinghua.edu.cn/raspbian/raspbian/ bullseye main contrib non-free rpi
参考连接:
树莓派清华镜像源“stretch”更换为“buster”,解决tensorflow、h5py安装包下载报错问题_电子生医小白的博客-CSDN博客_树莓派清华源解析失败