debian apt 更改阿里源

  1. 备份文件

cp /etc/apt/sources.list /etc/apt/sources.list.bak

  1. 更改 sources.list文件内容为:

    deb http://mirrors.aliyun.com/debian/ buster main non-free contrib
    deb-src http://mirrors.aliyun.com/debian/ buster main non-free contrib
    deb http://mirrors.aliyun.com/debian-security buster/updates main
    deb-src http://mirrors.aliyun.com/debian-security buster/updates main
    deb http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
    deb-src http://mirrors.aliyun.com/debian/ buster-updates main non-free contrib
    deb http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib
    deb-src http://mirrors.aliyun.com/debian/ buster-backports main non-free contrib

  2. 更新

apt-get update -y

相关推荐
人工智能训练15 小时前
【极速部署】Ubuntu24.04+CUDA13.0 玩转 VLLM 0.15.0:预编译 Wheel 包 GPU 版安装全攻略
运维·前端·人工智能·python·ai编程·cuda·vllm
微露清风17 小时前
系统性学习Linux-第二讲-基础开发工具
linux·运维·学习
阳光九叶草LXGZXJ17 小时前
达梦数据库-学习-48-DmDrs控制台命令(同步之Manager、CPT模块)
linux·运维·数据库·sql·学习
小二李19 小时前
第11章 nestjs服务端开发:登录鉴权
运维·服务器
i建模20 小时前
如何在Arch Linux中重设忘记的root密码
linux·运维·服务器
川川菜鸟20 小时前
Claude Code 安装与配置完整指南(Windows)
windows
chatexcel20 小时前
元空AI+Clawdbot:7×24 AI办公智能体新形态详解(长期上下文/自动化任务/工具粘合)
运维·人工智能·自动化
kida_yuan21 小时前
【Linux】运维实战笔记 — 我常用的方法与命令
linux·运维·笔记
PfCoder1 天前
WinForm真入门(23)---PictureBox 控件详细用法
开发语言·windows·c#·winform
Mr_Xuhhh1 天前
MySQL表的增删改查(CRUD)操作详解
数据库·windows