当前位置: 首页 > news >正文

debian apt 更改阿里源

1.  备份文件

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

2. 更改 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

3. 更新

apt-get update -y 

http://www.lryc.cn/news/346582.html

相关文章:

  • Spring Cloud | “微服务“ 架构 与 Spring Cloud
  • win10禁止自动更新的终极方法
  • 笨方法自学python(二)-注释
  • wireshark的安装使用及相关UDP、TCP、 ARP
  • 【软考】模拟考卷错题本2024-05-11
  • VMware虚拟机提示内存不足
  • 视频批量剪辑指南:一键合并视频并添加背景音乐,高效便捷
  • 讲讲C++四种类型转换
  • 探索LLM在广告领域的应用——大语言模型的新商业模式和新个性化广告的潜力
  • MBR与GPT分区表
  • OGG几何内核开发-BRepAlgoAPI_Fuse与BRep_Builder.MakeCompound比较
  • C语言 | Leetcode C语言题解之第67题二进制求和
  • 油泼辣子在食品类别可以申请成商标不!
  • 深入探索MySQL视图
  • C语言逻辑语句
  • C++青少年简明教程:基础知识
  • [AutoSar]lauterbach_001_ORTI_CPUload_Trace
  • 课程设计 大学生竞赛系统
  • 优先队列全面讲解
  • 即插即用篇 | YOLOv8 引入多光谱通道注意力 | 频率领域中的通道注意力网络
  • Topaz Video AI 5.0.3激活版 AI视频无损缩放增强
  • ppt通过修改幻灯片母版修改页脚
  • 【数组算法】598. 区间加法
  • Java | Leetcode Java题解之第68题文本左右对齐
  • Windows安装MySQL 8.4.0免安装版
  • 初识java--javaSE(3)--方法,递归,数组,
  • AWS ECS Fargate: 如何获取正在运行的服务
  • Rust 常用 Web 开源代码库
  • 零代码平台助力中国石化江苏油田实现高效评价体系
  • [优选算法]------滑动窗⼝——209. 长度最小的子数组