Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

In debian doc, add replace one-liner for debian 12 #348

Open
iamwrm opened this issue Feb 29, 2024 · 0 comments
Open

In debian doc, add replace one-liner for debian 12 #348

iamwrm opened this issue Feb 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@iamwrm
Copy link

iamwrm commented Feb 29, 2024

Hi,

In debian 12, sudo sed -i "s|http://deb.debian.org/debian|http://mirror.sjtu.edu.cn/debian|g" /etc/apt/sources.list does't work,
According to https://mirrors.ustc.edu.cn/help/debian.html,

Debian 12 (bookworm) 的容器镜像开始使用 DEB822 格式,而非上文使用的传统的 One-Line-Style 格式。 对应需要修改的文件为 /etc/apt/sources.list.d/debian.sources。同样可以使用如下命令:

sudo sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list.d/debian.sources
以下是在 Debian 12 容器镜像中同时修改了 Debian 与 Debian Security 源的情况下的参考配置内容

We should also include guidance for debian 12

@iamwrm iamwrm added the bug Something isn't working label Feb 29, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant