admin

debian11 国外可用更新源
今天一台服务器客服重装好系统之后似乎更新源有问题无法apt update尝试修改更新源似乎也没什么用于是找了一台d...
扫描右侧二维码阅读全文
05
2022/07

debian11 国外可用更新源

今天一台服务器
客服重装好系统之后
似乎更新源有问题
无法apt update
尝试修改更新源似乎也没什么用
于是找了一台debian11可以更新的服务器
把他上面的/etc/apt/sources.list文件下载下来
替换到我这台有问题的服务器
然后可以正常更新了

附上sources.list文件内容

# deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main

#deb cdrom:[Debian GNU/Linux 11.0.0 _Bullseye_ - Official amd64 NETINST 20210814-10:07]/ bullseye main

deb http://deb.debian.org/debian/ bullseye main
deb-src http://deb.debian.org/debian/ bullseye main

deb http://security.debian.org/debian-security bullseye-security main
deb-src http://security.debian.org/debian-security bullseye-security main

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bullseye-updates main
deb-src http://deb.debian.org/debian/ bullseye-updates main

# This system was installed using small removable media
# (e.g. netinst, live or single CD). The matching "deb cdrom"
# entries were disabled at the end of the installation process.
# For information about how to configure apt package sources,
# see the sources.list(5) manual.
Last modification:July 20th, 2022 at 07:51 pm
如果觉得我的文章对你有用,请随意赞赏

Leave a Comment