文章目录
# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.10
DISTRIB_CODENAME=groovy
DISTRIB_DESCRIPTION="Ubuntu 20.10"
目前网上关于一些Ubuntu20.10更换阿里云源的方案都不可以,网上的方案都是使用该网址:http://mirrors.aliyun.com/ubuntu/。
而目前阿里云将Ubuntu20.10的阿里云源更换到了https://mirrors.aliyun.com/oldubuntu-releases/ubuntu/。
官网主页:http://old-releases.ubuntu.com/releases/
下载地址:https://mirrors.aliyun.com/oldubuntu-releases
在https://mirrors.aliyun.com/oldubuntu-releases/ubuntu/dists/查找 groovy 相关的目录:
Ubuntu20.10更换阿里云源:
cp /etc/apt/sources.list /etc/apt/sources.list.back
vim /etc/apt/sources.list
deb http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy main restricted universe multiverse
deb-src http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy main restricted universe multiverse
deb http://mirrors.aliyun.com/oldubuntu-releases/ubuntu groovy-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy-security main restricted universe multiverse
deb http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/oldubuntu-releases/ubuntu/ groovy-backports main restricted universe multiverse
apt update