前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >Debian 无法更新和镜像源

Debian 无法更新和镜像源

作者头像
chuchur
发布2023-09-13 08:12:21
6890
发布2023-09-13 08:12:21
举报
文章被收录于专栏:禅境花园禅境花园

位于一台德国的vps, 用的 Debian, 这个逼最近, 突然apt-get 不好使了. 各种error .

连带其它的 npm ,pip 都不行. 各种检查, 最后看了下 镜像源. 果然. ping 都不行, 可能是update 的时候,系统有更新, 然后切换了新的 镜像源.

果断的换了:

编辑 /etc/apt/sources.list 写入新的 :

代码语言:javascript
复制
deb https://deb.debian.org/debian bookworm main non-free-firmware
deb-src https://deb.debian.org/debian bookworm main non-free-firmware

deb https://debian.mirror.constant.com bookworm main non-free-firmware
deb-src https://debian.mirror.constant.com bookworm main non-free-firmware

deb https://deb.debian.org/debian-security/ bookworm-security main non-free-firmware
deb-src https://deb.debian.org/debian-security/ bookworm-security main non-free-firmware

deb https://deb.debian.org/debian bookworm-updates main non-free-firmware
deb-src https://deb.debian.org/debian bookworm-updates main non-free-firmware

#deb https://deb.debian.org/debian bookworm-backports main non-free-firmware
#deb-src https://deb.debian.org/debian bookworm-backports main non-free-firmware

顺利解决.

德国, 干了什么. 最近很多都被Q了.

本文参与 腾讯云自媒体同步曝光计划,分享自作者个人站点/博客。
如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体同步曝光计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档