# Ubuntu 旧版本软件仓库

原文：https://mirrors.zju.edu.cn/docs/ubuntu-old-releases/
内容语言：zh（中文）
导出选项：默认选项；可在原文页面调整选项后复制全文

- 镜像地址：`https://mirrors.zju.edu.cn/ubuntu-old-releases`
- sudo：开启

> 本站收录所有共享帮助文档；文档存在不代表浙江大学镜像站当前提供该镜像。请查阅 https://mirrors.zju.edu.cn/mirrorz.json 确认当前目录与状态。
> 下列命令使用上述选项，请根据实际系统版本选择；未填写的文本选项需要在原文页面补充。

Ubuntu 旧版本的软件源、镜像

该仓库包含了所有 Ubuntu 以前发布过的软件仓库、镜像 ISO，但不包含 Ubuntu 衍生版的 ISO。

### 软件源

Ubuntu 18.04 LTS 及以上版本默认支持 HTTPS 源。Ubuntu 18.04 LTS 以前的系统如需使用 HTTPS 源需要安装 `apt-transport-https` 包。

如果遇到无法拉取 HTTPS 源的情况，请先使用 HTTP 源并安装通用 CA 证书：

```bash
sudo apt install ca-certificates
```

提醒：旧版 Ubuntu 需要对应更新根证书，否则可能无法访问大多数镜像站。详情可参见 TUNA issues 上的[相应讨论](<https://github.com/tuna/issues/issues/1342#issuecomment-931412628>)。

此处选项：
- Ubuntu 版本 (release): `Ubuntu 22.10 (kinetic)`
- 启用源码源 (src): `关闭`
- 启用 proposed (proposed): `关闭`

写入 `/etc/apt/sources.list`：

```
# 默认注释了源码镜像以提高 apt update 速度，如有需要可自行取消注释
deb https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic main restricted universe multiverse
# deb-src https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic main restricted universe multiverse
deb https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-updates main restricted universe multiverse
# deb-src https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-updates main restricted universe multiverse
deb https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-backports main restricted universe multiverse
# deb-src https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-backports main restricted universe multiverse
deb https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-security main restricted universe multiverse
# deb-src https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-security main restricted universe multiverse

# 预发布软件源，不建议启用
# deb https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-proposed main restricted universe multiverse
# # deb-src https://mirrors.zju.edu.cn/ubuntu-old-releases/ubuntu/ kinetic-proposed main restricted universe multiverse
```

更多版本代号可参考 [https://wiki.ubuntu.com/Releases](<https://wiki.ubuntu.com/Releases>)

### 镜像

请前往 `https://mirrors.zju.edu.cn/ubuntu-old-releases/releases/` 下载。

非 AMD64(x86_64), Intel x86 架构的镜像请前往 `https://mirrors.zju.edu.cn/ubuntu-old-releases/releases/ports/releases/` 下载。

---

来源：[ZJUSCT/mirrorz-docs](https://github.com/ZJUSCT/mirrorz-docs/tree/de87bf043f31d45ef3a951cc6dc11ddb8c85b4f6/ubuntu-old-releases)
源提交：de87bf043f31d45ef3a951cc6dc11ddb8c85b4f6
许可：[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/)
文档索引：https://mirrors.zju.edu.cn/llms.txt
