滇游记 發表於 2020-1-6 13:35:00

ubuntu镜像源切换

<p><strong>换源准备:</strong></p>
<p>换源之前明确使用平台,X86架构、ARM架构的源,ubuntu18.04和unbuntu16.04等源均不同,切忌病急乱投医,看到一个源复制过来添加后没用。</p>
<p>分析一条源:</p>
<p>deb http://mirrors.tuna.tsinghua.edu.cn/<strong>ubuntu</strong>/<span style="color: rgba(255, 102, 0, 1)">bionic</span>-updates main restricted universe multiverse</p>
<p>从左到又依次为:</p>
<p>镜像网址:http://mirrors.tuna.tsinghua.edu.cn</p>
<p>计算机架构对应关系:</p>
<table style="height: 98px; width: 472px" border="0.1">
<tbody>
<tr align="center">
<td>计算机架构</td>
<td>代号</td>
</tr>
<tr align="center">
<td>X86</td>
<td>ubuntu</td>
</tr>
<tr align="center">
<td>ARM</td>
<td>ubuntu-ports</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp; &nbsp; &nbsp;</p>
<p>系统版本号对应关系:</p>
<table style="height: 115px; width: 502px" border="0.2" align="center">
<tbody>
<tr align="center">
<td><strong>版本</strong></td>
<td><strong>版本号</strong></td>
<td><strong>代号</strong></td>
</tr>
<tr align="center">
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">Lucid(10.04)</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">10.04</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">lucid</span></td>
</tr>
<tr align="center">
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">Precise(12.04)</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">12.04</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">precise</span></td>
</tr>
<tr align="center">
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">Trusty(14.04)</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">14.04</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">trusty</span></td>
</tr>
<tr align="center">
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">Utopic(14.10)</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">14.10</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">utopic</span></td>
</tr>
<tr align="center">
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">Ubuntu 16.04 TLS</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">16.04</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">xenial</span></td>
</tr>
<tr align="center">
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">Ubuntu 18.04 TLS</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">18.04</span></td>
<td><span style="color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px; background-color: rgba(179, 179, 179, 0.15)">bionic</span></td>
</tr>
</tbody>
</table>
<p>综上TX2(18.04系统版本)的一条更新格式为</p>
<p>deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse</p>
<p><strong>换源步骤</strong></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">1.获得root权限</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">sudo su</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">2.打开源配置文件</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">gedit /etc/apt/sources.list</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">3.删除原来的文件并且换成自己想换的源</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">#清华的源(ARM)</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-updates main restricted universe multiverse&nbsp;</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse&nbsp;</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-security main restricted universe multiverse&nbsp;</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-backports main restricted universe multiverse&nbsp;</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial-backports main restricted universe multiverse&nbsp;</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main universe restricted&nbsp;</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ xenial main universe restricted</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">#阿里源(x86)</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word"><span style="color: rgba(77, 77, 77, 1); font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif"><span style="font-size: 16px">deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse</span></span></p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">4.更新软件列表</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">apt update</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">5.更新软件包</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">apt upgrade</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">附组件:</p>
<pre class="brush:bash;toolbar:false hljs">main:&nbsp;免费,Ubuntu&nbsp;官方维护的自由软件;
restricted:&nbsp;不免费,但是正规支持的,一般是设备专有驱动;
universe:免费,社区维护的自由软件;
multiverse:不免费,无正规支持,非自由软件;</pre>
<pre class="brush:bash;toolbar:false hljs css"><span class="hljs-tag" style="color: rgba(0, 0, 128, 1)">security</span>:重要的安全更新;
<span class="hljs-tag" style="color: rgba(0, 0, 128, 1)">updates</span>:非安全性更新,即不影响到系统安全的&nbsp;<span class="hljs-tag" style="color: rgba(0, 0, 128, 1)">bug</span>&nbsp;修补;
<span class="hljs-tag" style="color: rgba(0, 0, 128, 1)">proposed</span>:预更新,小&nbsp;<span class="hljs-tag" style="color: rgba(0, 0, 128, 1)">beta</span>&nbsp;版,过后会进入<span class="hljs-attr_selector"></span>或<span class="hljs-attr_selector">;</span>
<span class="hljs-tag" style="color: rgba(0, 0, 128, 1)">backports</span>:新软件的反向导出,新软件为老系统编译的版本;</pre>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; line-height: 26px; overflow-x: auto; overflow-wrap: break-word">&nbsp;</p>
<p style="box-sizing: border-box; outline: 0; margin: 0 0 16px; padding: 0; font-family: &quot;Microsoft YaHei&quot;, &quot;SF Pro Display&quot;, Roboto, Noto, Arial, &quot;PingFang SC&quot;, sans-serif; font-size: 16px; color: rgba(77, 77, 77, 1); line-height: 26px; overflow-x: auto; overflow-wrap: break-word">组件参考:http://www.voidcn.com/article/p-zctkgwyc-bsd.html</p>
<div>
<div>&nbsp;</div>
<br><br><br></div>
<p>&nbsp;</p>
<table style="box-sizing: border-box; width: 682px; margin-bottom: 20px; border-color: rgba(238, 238, 238, 1) rgba(238, 238, 238, 1) rgba(238, 238, 238, 1) initial; border-left-width: initial; border-left-style: none; color: rgba(64, 64, 64, 1); font-family: -apple-system, BlinkMacSystemFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, &quot;Segoe UI Symbol&quot;, &quot;Segoe UI&quot;, &quot;PingFang SC&quot;, &quot;Hiragino Sans GB&quot;, &quot;Microsoft YaHei&quot;, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; font-size: 16px">
<thead style="box-sizing: border-box">
<tr style="box-sizing: border-box"><th style="box-sizing: border-box; padding: 8px; border-color: rgba(238, 238, 238, 1); line-height: 20px; vertical-align: middle">版本</th></tr>
</thead>
</table><br><br>
来源:https://www.cnblogs.com/liptom/p/12155870.html
頁: [1]
查看完整版本: ubuntu镜像源切换