debian9换源存在的问题

今天租借了云服务器搭建了debian9,给apt-get换源过程中出现了很多问题,主要有两个问题:

  • 问题1:
bash 复制代码
sudo apt-get update
0% [Working]
  • 问题2:
bash 复制代码
W: The repository 'http://mirrors.aliyun.com/debian stretch Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirrors.aliyun.com/debian-security stretch/updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirrors.aliyun.com/debian stretch-updates Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
W: The repository 'http://mirrors.aliyun.com/debian stretch-backports Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch http://mirrors.aliyun.com/debian/dists/stretch/non-free/source/Sources  404  Not Found [IP: 106.116.170.186 80]
E: Failed to fetch http://mirrors.aliyun.com/debian-security/dists/stretch/updates/main/source/Sources  404  Not Found [IP: 106.116.170.186 80]
E: Failed to fetch http://mirrors.aliyun.com/debian/dists/stretch-updates/non-free/source/Sources  404  Not Found [IP: 106.116.170.186 80]
E: Failed to fetch http://mirrors.aliyun.com/debian/dists/stretch-backports/contrib/source/Sources  404  Not Found [IP: 106.116.170.186 80]

出现这两个的主要问题就是使用csdn的一些文章推荐的,但是这些都有问题,包括阿里云自己的地址都没有更新,但是下面有一个评论更新了新的地址:

bash 复制代码
deb http://mirrors.aliyun.com/debian-archive/debian stretch main contrib non-free
deb http://mirrors.aliyun.com/debian-archive/debian stretch-backports main
deb http://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main
deb-src http://mirrors.aliyun.com/debian-archive/debian stretch main
deb-src http://mirrors.aliyun.com/debian-archive/debian stretch-backports main
deb-src http://mirrors.aliyun.com/debian-archive/debian-security stretch/updates main

请大家一定要去阿里的官网看一哈评论:阿里镜像官网

相关推荐
其实防守也摸鱼1 小时前
教育信息技术应用创新---基础软件信息赛
运维·服务器·数据库·github·copilot
0xR3lativ1ty5 小时前
AI本地部署工具火热趋势
github
LlmCraft|大模型工程实践6 小时前
14. CI/CD 流水线中集成 Docker:GitHub Actions 自动构建部署
ci/cd·docker·github
hulihutu446 小时前
拒绝延期、bug、货不对板:2026 管理系统定制开发落地保障手册
github·bug·鸿蒙系统·数据库管理员
隔窗听雨眠7 小时前
活动中台系统慢SQL治理实践:从监控告警到性能优化的全链路方法论
sql·性能优化·github
m4Rk_7 小时前
【论文阅读】Agent 记忆机制(60):MemInsight——让 LLM 自动为历史记忆生成语义索引
论文阅读·人工智能·学习·开源·github
小弥儿12 小时前
开源 VoiceStudio,声音克隆|配音|有声书一站式本地完成
学习·开源·github
问天_观心21 小时前
大模型微调学习(一)
开发语言·人工智能·学习·语言模型·github
峰向AI21 小时前
SRT 白板动画:让字幕「画」出故事
github
阿里嘎多学长21 小时前
2026-09-03 GitHub 热点项目精选
开发语言·程序员·github·代码托管