Ubuntu for ARM 更换为阿里云镜像源

1. 简介

该镜像适用于配置 ARM, PowerPC 等其他架构的 ubuntu系统,不适用 x86 !!!

各种版本的Ubuntu for ARM下载地址:https://cdimage.ubuntu.com/releases

2. 配置方法

打开 sources.list 文件。

shell 复制代码
vim /etc/apt/sources.list

将其中内容全部删除(最好自己备份一个),为其中填充如下对应版本的镜像源内容。

ubuntu 14.04 LTS (trusty) (EOL) 配置如下

shell 复制代码
deb https://mirrors.aliyun.com/ubuntu-ports/ trusty main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ trusty main restricted universe multiverse
deb https://mirrors.aliyun.com/ubuntu-ports/ trusty-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ trusty-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ trusty-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ trusty-updates main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ trusty-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ trusty-backports main restricted universe multiverse

## Not recommended
# deb https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu/ trusty-proposed main restricted universe multiverse

ubuntu 16.04 LTS (xenial) (EOL) 配置如下

shell 复制代码
deb https://mirrors.aliyun.com/ubuntu-ports/ xenial main
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial main

deb https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates main

deb https://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial universe
deb https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-updates universe

deb https://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-security main
deb https://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe
deb-src https://mirrors.aliyun.com/ubuntu-ports/ xenial-security universe

ubuntu 18.04 LTS (bionic) 配置如下

shell 复制代码
deb https://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ bionic-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ bionic-backports main restricted universe multiverse

ubuntu 20.04 LTS (focal) 配置如下

shell 复制代码
deb https://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ focal-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ focal-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu-ports/ focal-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ focal-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ focal-backports main restricted universe multiverse

ubuntu 22.04 LTS (jammy) 配置如下

shell 复制代码
deb https://mirrors.aliyun.com/ubuntu-ports/ jammy main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ jammy-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ jammy-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu-ports/ jammy-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ jammy-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ jammy-backports main restricted universe multiverse

ubuntu 23.04 (lunar) 配置如下

shell 复制代码
deb https://mirrors.aliyun.com/ubuntu-ports/ lunar main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ lunar-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ lunar-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu-ports/ lunar-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ lunar-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ lunar-backports main restricted universe multiverse

ubuntu 24.04 (noble) 配置如下

shell 复制代码
deb https://mirrors.aliyun.com/ubuntu-ports/ noble main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ noble-security main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-security main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ noble-updates main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-updates main restricted universe multiverse

# deb https://mirrors.aliyun.com/ubuntu-ports/ noble-proposed main restricted universe multiverse
# deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-proposed main restricted universe multiverse

deb https://mirrors.aliyun.com/ubuntu-ports/ noble-backports main restricted universe multiverse
deb-src https://mirrors.aliyun.com/ubuntu-ports/ noble-backports main restricted universe multiverse

3. 更新源

执行更新命令。

shell 复制代码
apt-get update

#完

相关推荐
小小菜鸟,可笑可笑7 小时前
Ubuntu 系统安装搜狗输入法 & 使用英文标点
ubuntu
楼兰公子9 小时前
《深入理解Linux网络技术内幕》配套学习大纲 + 源码Demo + 进阶实战实例
linux·arm开发·学习
Irene19919 小时前
Windows 11 WSL Ubuntu 环境:实际安装 Hive 踩坑实录
hive·windows·ubuntu
aFakeProgramer10 小时前
在Ubuntu系统格式化SD卡,单分区/双分区
linux·运维·ubuntu
Irene199110 小时前
Windows 11 WSL Ubuntu 环境:实际安装 Hadoop 踩坑实录
linux·hadoop·ubuntu
console.log('npc')10 小时前
Windows 11 → WSL2 → Ubuntu → Docker → Codex → Sub2API
windows·ubuntu·docker
小小ken10 小时前
virtualbox中的ubuntu虚拟机登录到桌面后出现屏幕闪烁现象解决办法
linux·运维·ubuntu
林林奇遇记12 小时前
阿里云虚拟主机wordpress无法安装插件
阿里云·云计算
xiaobobo333012 小时前
ubuntu中使用trash工具替代rm防止无法回复
ubuntu·垃圾回收
#卢松松#12 小时前
打卡2026阿里云峰会
人工智能·阿里云