Skip to content

Commit

Permalink
Add ubuntu-ports, remove disco and add groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
jiegec committed Sep 15, 2020
1 parent f830bca commit 15d4ef7
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 2 deletions.
55 changes: 55 additions & 0 deletions help/_posts/1970-01-01-ubuntu-ports.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
---
category: help
layout: help
mirrorid: ubuntu-ports
---

Ubuntu Ports 镜像使用帮助
===================

Ubuntu 的软件源配置文件是
`/etc/apt/sources.list`。将系统自带的该文件做个备份,将该文件替换为下面内容,即可使用
TUNA 的软件源镜像。


<form class="form-inline">
<div class="form-group">
<label>选择你的ubuntu版本: </label>
<select class="form-control release-select" data-template="#apt-template" data-target="#apt-content">
<option data-release="precise">12.04 LTS</option>
<option data-release="trusty">14.04 LTS</option>
<option data-release="xenial">16.04 LTS</option>
<option data-release="bionic">18.04 LTS</option>
<option data-release="focal" selected>20.04 LTS</option>
<option data-release="eoan">19.10</option>
<option data-release="groovy">20.10</option>
</select>
</div>
</form>

{% raw %}
<script id="apt-template" type="x-tmpl-markup">
# 默认注释了源码镜像以提高 apt update 速度,如有需要可自行取消注释
deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}} main restricted universe multiverse
# deb-src https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}} main restricted universe multiverse
deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-updates main restricted universe multiverse
# deb-src https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-updates main restricted universe multiverse
deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-backports main restricted universe multiverse
# deb-src https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-backports main restricted universe multiverse
deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-security main restricted universe multiverse
# deb-src https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-security main restricted universe multiverse

# 预发布软件源,不建议启用
# deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-proposed main restricted universe multiverse
# deb-src https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu-ports/ {{release_name}}-proposed main restricted universe multiverse
</script>
{% endraw %}

<p></p>

<pre>
<code id="apt-content">
</code>
</pre>

本镜像仅包含 arm64 armhf ppc64el riscv64 s390x 架构的软件包。
4 changes: 2 additions & 2 deletions help/_posts/1970-01-01-ubuntu.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ TUNA 的软件源镜像。
<option data-release="xenial">16.04 LTS</option>
<option data-release="bionic">18.04 LTS</option>
<option data-release="focal" selected>20.04 LTS</option>
<option data-release="disco">19.04</option>
<option data-release="eoan">19.10</option>
<option data-release="groovy">20.10</option>
</select>
</div>
</form>
Expand Down Expand Up @@ -52,4 +52,4 @@ deb https://{%endraw%}{{ site.hostname }}{%raw%}/ubuntu/ {{release_name}}-securi
</code>
</pre>

本镜像仅包含 32/64 位 x86 架构处理器的软件包,在 ARM 和 PowerPC 等架构的设备上(对应官方源为ports.ubuntu.com)请使用ubuntu-ports镜像(地址 https://{{ site.hostname }}/ubuntu-ports/
本镜像仅包含 32/64 位 x86 架构处理器的软件包,在 ARM(arm64, armhf)、PowerPC(ppc64el)、RISC-V(riscv64) 和 S390x 等架构的设备上(对应官方源为ports.ubuntu.com)请使用 [ubuntu-ports 镜像](https://{{ site.hostname }}/ubuntu-ports/)

0 comments on commit 15d4ef7

Please sign in to comment.