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

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

相关推荐
逛逛GitHub3 小时前
盘点本周 11 个 Star 攀升最多的 GitHub 开源项目。
github
蒲公英内测分发3 小时前
智能门锁量产时,工厂测试 App 一直在更新,产线怎么避免装错 APK?
服务器·人工智能·github·智能硬件·智能手表
本地化文档4 小时前
llvm-libc-docs-l10n
c语言·github·gitcode·sphinx·llvm·crowdin
wflynn4 小时前
GitHub 日榜趋势速报 | 2026-10-21
开源·github
钱栈up6 小时前
GitHub热榜上手|Claude插件:4.3万星官方目录
python·开源·github
大狼鲸6 小时前
阿里云ECS自动快照怎么配置?新手数据备份避坑指南
阿里云·云计算·github
wflynn6 小时前
GitHub 日榜趋势速报 | 2026-10-19
开源·github
高频因子挖掘机6 小时前
A股量化第一步:如何利用 QuantDash 实现日K数据清洗、前复权校验与缺失值处理
后端·github·api
miofly8 小时前
GitHub 今日推荐|pandacode:本地桌面统一管理多个AI编码代理
rust·开源·github
miofly8 小时前
DeepSeek开源推理框架DeepInfer,支持英伟达昇腾双平台
开源·github