From 7a5c23f9e184e4cacf7ff1acbdc4760edda4c683 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E6=B2=AB=E5=A4=A9=E4=BD=BF?= <74064769+LengmoAngel@users.noreply.github.com> Date: Wed, 25 Aug 2021 16:09:17 +0800 Subject: [PATCH 1/5] mirror-help: add ubuntu-ports.md mirror-help: add ubuntu-ports.md --- content/post/mirror-help/ubuntu-ports.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 content/post/mirror-help/ubuntu-ports.md diff --git a/content/post/mirror-help/ubuntu-ports.md b/content/post/mirror-help/ubuntu-ports.md new file mode 100644 index 0000000..3ac6e8d --- /dev/null +++ b/content/post/mirror-help/ubuntu-ports.md @@ -0,0 +1,10 @@ ++++ +title = "ubuntu-ports" +tags = ["mirror-help"] +author = "LengmoAngel" ++++ + +Ubuntu是一个基于Debian的Linux发行版,包含了常用的大量软件包。Ubuntu的目标在于为一般用户提供一个最新同时又相当稳定,主要以自由软件建构而成的作业系统。Ubuntu目前具有庞大的社群力量支持,用户可以方便地从社群获得帮助。 + +本镜像收录arm64, armhf, PowerPC, ppc64el, s390x等结构软件 + From 2da32b53a7208cb2da180744114e08ad8216930c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E6=B2=AB=E5=A4=A9=E4=BD=BF?= <74064769+LengmoAngel@users.noreply.github.com> Date: Wed, 25 Aug 2021 16:27:42 +0800 Subject: [PATCH 2/5] mirror-help:Update content/post/mirror-help/ubuntu-ports.md Co-authored-by: Alex Chi --- content/post/mirror-help/ubuntu-ports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/post/mirror-help/ubuntu-ports.md b/content/post/mirror-help/ubuntu-ports.md index 3ac6e8d..3e693d9 100644 --- a/content/post/mirror-help/ubuntu-ports.md +++ b/content/post/mirror-help/ubuntu-ports.md @@ -4,7 +4,7 @@ tags = ["mirror-help"] author = "LengmoAngel" +++ -Ubuntu是一个基于Debian的Linux发行版,包含了常用的大量软件包。Ubuntu的目标在于为一般用户提供一个最新同时又相当稳定,主要以自由软件建构而成的作业系统。Ubuntu目前具有庞大的社群力量支持,用户可以方便地从社群获得帮助。 +Ubuntu 是一个基于 Debian 的 Linux 发行版,包含了常用的大量软件包。Ubuntu 的目标在于为一般用户提供一个最新同时又相当稳定,主要以自由软件建构而成的作业系统。Ubuntu 目前具有庞大的社群力量支持,用户可以方便地从社群获得帮助。 本镜像收录arm64, armhf, PowerPC, ppc64el, s390x等结构软件 From f22d02d935ec0c991a0a7efe22e123e841b6133b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E6=B2=AB=E5=A4=A9=E4=BD=BF?= <74064769+LengmoAngel@users.noreply.github.com> Date: Wed, 25 Aug 2021 16:27:49 +0800 Subject: [PATCH 3/5] mirror-help:Update content/post/mirror-help/ubuntu-ports.md Co-authored-by: Alex Chi --- content/post/mirror-help/ubuntu-ports.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/post/mirror-help/ubuntu-ports.md b/content/post/mirror-help/ubuntu-ports.md index 3e693d9..897eb79 100644 --- a/content/post/mirror-help/ubuntu-ports.md +++ b/content/post/mirror-help/ubuntu-ports.md @@ -6,5 +6,5 @@ author = "LengmoAngel" Ubuntu 是一个基于 Debian 的 Linux 发行版,包含了常用的大量软件包。Ubuntu 的目标在于为一般用户提供一个最新同时又相当稳定,主要以自由软件建构而成的作业系统。Ubuntu 目前具有庞大的社群力量支持,用户可以方便地从社群获得帮助。 -本镜像收录arm64, armhf, PowerPC, ppc64el, s390x等结构软件 +本镜像收录 arm64, armhf, PowerPC, ppc64el, s390x 等结构的软件。 From 236f8d585dba42533890d3ab2df4394dbf7c8107 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E6=B2=AB=E5=A4=A9=E4=BD=BF?= <74064769+LengmoAngel@users.noreply.github.com> Date: Wed, 25 Aug 2021 18:16:49 +0800 Subject: [PATCH 4/5] Create ubuntu-ports.md mirror-help:update ubuntu-ports.md --- content/post/mirror-help/ubuntu-ports.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/content/post/mirror-help/ubuntu-ports.md b/content/post/mirror-help/ubuntu-ports.md index 897eb79..9d6613f 100644 --- a/content/post/mirror-help/ubuntu-ports.md +++ b/content/post/mirror-help/ubuntu-ports.md @@ -8,3 +8,8 @@ Ubuntu 是一个基于 Debian 的 Linux 发行版,包含了常用的大量软 本镜像收录 arm64, armhf, PowerPC, ppc64el, s390x 等结构的软件。 +镜像站一天同步一次 Ubuntu 镜像。为了取得最新的安全更新,我们不建议您将 security.ubuntu.com 换成镜像源。 + +您也可使用sudo sed -i 's/http:\/\/cn.archive.ubuntu.com/http:\/\/mirrors.sjtug.sjtu.edu.cn/g' /etc/apt/sources.list指令直接批量修改。 + + From e07837cdf2be7fea144349865849bec8307f9ab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=86=B7=E6=B2=AB=E5=A4=A9=E4=BD=BFblue?= <74064769+LengmoAngel@users.noreply.github.com> Date: Thu, 26 Aug 2021 00:44:24 +0800 Subject: [PATCH 5/5] mirror-help: update ubuntu-ports.md --- content/post/mirror-help/ubuntu-ports.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/content/post/mirror-help/ubuntu-ports.md b/content/post/mirror-help/ubuntu-ports.md index 9d6613f..871ae25 100644 --- a/content/post/mirror-help/ubuntu-ports.md +++ b/content/post/mirror-help/ubuntu-ports.md @@ -10,6 +10,18 @@ Ubuntu 是一个基于 Debian 的 Linux 发行版,包含了常用的大量软 镜像站一天同步一次 Ubuntu 镜像。为了取得最新的安全更新,我们不建议您将 security.ubuntu.com 换成镜像源。 -您也可使用sudo sed -i 's/http:\/\/cn.archive.ubuntu.com/http:\/\/mirrors.sjtug.sjtu.edu.cn/g' /etc/apt/sources.list指令直接批量修改。 +以下为修改后的镜像源列表文件的示例。请注意:下面的 focal 只是一个例子,请将它换成自己使用的 Ubuntu 版本代号。否则系统会自动升级到 focal,且会导致未知的问题。 +``` +deb https://mirror.sjtu.edu.cn/ubuntu-ports/ focal main restricted universe multiverse +# deb-src https://mirror.sjtu.edu.cn/ubuntu-ports/ focal main restricted universe multiverse +deb https://mirror.sjtu.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse +# deb-src https://mirror.sjtu.edu.cn/ubuntu-ports/ focal-updates main restricted universe multiverse +deb https://mirror.sjtu.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse +# deb-src https://mirror.sjtu.edu.cn/ubuntu-ports/ focal-backports main restricted universe multiverse +deb https://mirror.sjtu.edu.cn/ubuntu-ports/ focal-security main restricted universe multiverse +# deb-src https://mirror.sjtu.edu.cn/ubuntu-ports/ focal-security main restricted universe multiverse +``` + +其中`deb-src`为源码镜像,默认注释以提高速度。可将原镜像列表备份后替换为上述内容。