Debian 11 (bullseye) 国内软件源
<p> 本文整理了Debian 11在国内的几个软件源。</p><h3>1.使用说明 </h3>
<p> 一般情况下,将/etc/apt/sources.list文件中Debian默认的软件仓库地址和安全更新仓库地址修改为国内的镜像地址即可,比如将deb.debian.org和security.debian.org改为mirrors.xxx.com,并使用https访问,可使用如下命令:</p>
<div class="cnblogs_code">
<pre><span style="color: rgba(0, 0, 255, 1)">sed</span> -i <span style="color: rgba(128, 0, 0, 1)">"</span><span style="color: rgba(128, 0, 0, 1)">s@http://\(deb\|security\).debian.org@https://mirrors.xxx.com@g</span><span style="color: rgba(128, 0, 0, 1)">"</span> /etc/apt/sources.list</pre>
</div>
<div>修改之后再运行<span style="font-family: tahoma, arial, helvetica, sans-serif">apt update</span>更新索引。</div>
<div> </div>
<h3>2.国内常见镜像站点</h3>
<div>
<p><strong><span style="font-size: 14px">阿里云镜像站</span></strong> </p>
<div class="cnblogs_code">
<pre>deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ bullseye main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ bullseye main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian-security/ bullseye-security main</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian-security/ bullseye-security main</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ bullseye-updates main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.aliyun.com/debian/ bullseye-backports main non-free contrib</span></pre>
</div>
<p> </p>
<p><strong> 腾讯云镜像站</strong></p>
<div class="cnblogs_code">
<pre>deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian/ bullseye main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian/ bullseye main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian-security/ bullseye-security main</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian-security/ bullseye-security main</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian/ bullseye-updates main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian/ bullseye-updates main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian/ bullseye-backports main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tencent.com/debian/ bullseye-backports main non-free contrib</span></pre>
</div>
<p> </p>
<p><strong>网易镜像站</strong> </p>
</div>
<div class="cnblogs_code">
<pre>deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian/ bullseye main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian/ bullseye main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian-security/ bullseye-security main</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian-security/ bullseye-security main</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian/ bullseye-updates main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian/ bullseye-updates main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian/ bullseye-backports main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.163.com/debian/ bullseye-backports main non-free contrib</span></pre>
</div>
<p> </p>
<p><strong>华为镜像站</strong></p>
<div class="cnblogs_code">
<pre>deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian/ bullseye main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian/ bullseye main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian-security/ bullseye-security main</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian-security/ bullseye-security main</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian/ bullseye-updates main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian/ bullseye-updates main non-free contrib</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian/ bullseye-backports main non-free contrib</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.huaweicloud.com/debian/ bullseye-backports main non-free contrib</span></pre>
</div>
<p> </p>
<p><strong>清华大学镜像站</strong></p>
<div class="cnblogs_code">
<pre>deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian/ bullseye main contrib non-free</span>
deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-updates main contrib non-free</span>
<span style="color: rgba(0, 0, 0, 1)">deb https:</span><span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian/ bullseye-backports main contrib non-free</span>
<span style="color: rgba(0, 0, 0, 1)">deb https:</span><span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.tuna.tsinghua.edu.cn/debian-security bullseye-security main contrib non-free</span></pre>
</div>
<p> </p>
<p><strong>中科大镜像站</strong></p>
<div class="cnblogs_code">
<pre>deb https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian/ bullseye main contrib non-free</span>
<span style="color: rgba(0, 0, 0, 1)">
deb https:</span><span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian/ bullseye-updates main contrib non-free</span>
<span style="color: rgba(0, 0, 0, 1)">
deb https:</span><span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian/ bullseye-backports main contrib non-free</span>
<span style="color: rgba(0, 0, 0, 1)">
deb https:</span><span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free</span>
deb-src https:<span style="color: rgba(0, 128, 0, 1)">//</span><span style="color: rgba(0, 128, 0, 1)">mirrors.ustc.edu.cn/debian-security/ bullseye-security main contrib non-free</span></pre>
</div>
<p> </p>
<p> Debian全球镜像站列表:https://www.debian.org/mirror/list</p>
<p> </p><br><br>
来源:https://www.cnblogs.com/liuguanglin/p/debian11_repo.html
頁:
[1]