//更换文件 sources.list
sudo nano /etc/apt/sources.list
deb https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye main non-free contrib
deb https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb-src https://mirrors.aliyun.com/debian-security/ bullseye-security main
deb https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib
deb https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
deb-src https://mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib
//更换文件 raspi.list
sudo nano /etc/apt/sources.list.d/raspi.list
deb http://mirrors.aliyun.com/raspberrypi/ buster main ui
//运行
sudo apt update
sudo apt full-upgrade -y
sudo apt upgrade -y
sudo apt autoremove -y
树莓派 64位 换源
最新推荐文章于 2024-08-30 13:47:56 发布
文章讲述了如何在Linux系统中使用`sudonano`编辑sources.list文件,以阿里云镜像源替换默认源,并执行`aptupdate`,`aptfull-upgrade`,`aptupgrade`,和`aptautoremove`等命令进行软件包管理。
摘要由CSDN通过智能技术生成