forked from tuna/mirror-web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ubuntu-ports, remove disco and add groovy
- Loading branch information
Showing
2 changed files
with
57 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 架构的软件包。 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters