ubuntu 25.10修改镜像源示例
vim /etc/apt/sources.list.d/ubuntu.sources
注释原有镜像源配置(也可以不注释原有镜像源,有的包国内镜像源没有)
新增如下配置(清华大学镜像源)
Types: deb deb-src
URIs: https://mirrors.tuna.tsinghua.edu.cn/ubuntu/
Suites: xenial xenial-updates xenial-backports xenial-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg