Note that this article does not simply teach you how to change to the 20.04 source, but teaches you a method based on 20.04 to change the source. Please note: Ubuntu 20.04 was officially released on April 23. 1 Back up the original source cp -ra /etc/apt/sources.list /etc/apt/sources.list.bak 2 Find out the code name of Ubuntu, for example: 4.10Warty Warthog 6.06 (LTS) Dapper Drake 8.04 (LTS) Hardy Heron 10.04 (LTS) Lucid Lynx 12.04 (LTS) Precise Pangolin 14.04(LTS)Trusty Tahr (Trusty Tahr) (LTS) 16.04(LTS)Xenial Xerus (Hospitable African Ground Squirrel) 18.04 (LTS) Bionic Beaver 20.04 (LTS) Focal Fossa (Focal Fossa) To know the code of the current system, you can use the following command: lsb_release -a 3 Go to Alibaba Source to see if this source exists http://archive.ubuntu.com/ubuntu/dists/
4 Then use the following template as a template and replace the 'TODO' with the above Codename deb http://mirrors.aliyun.com/ubuntu/ TODO main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ TODO main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ TODO-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ TODO-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ TODO-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ TODO-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ TODO-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ TODO-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ TODO-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ TODO-backports main restricted universe multiverse For example, after I changed the source of 20.04, it looked like this: deb http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-proposed main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ focal-backports main restricted universe multiverse Then paste it into 5 Update Cache and Upgrade sudo apt-get update sudo apt-get upgrade This is the end of this article about how to change the Ali source for Ubuntu 20.04. For more information about how to change the Ali source for Ubuntu 20.04, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: WeChat applet implements sorting function based on date and time
>>: MySQL 5.7 generated column usage example analysis
Recommended reading: MySQL 8.0.19 supports accoun...
Effect (source code at the end): accomplish: 1. D...
Mainly use the preserve-3d and perspective proper...
We usually have a scanning box when we open the c...
Table of contents 01 Scenario Analysis 02 Operati...
I recently bought the cheapest Tencent cloud serv...
In HTML, colors are represented in two ways. One i...
Configure multiple servers in nginx.conf: When pr...
Docker image download is stuck or too slow I sear...
BFC Concept: The block formatting context is an i...
Docker installation Install dependency packages s...
JPQL stands for Java Persistence Query Language. ...
HTML+CSS+JS imitates win10 brightness adjustment ...
Purpose: Allow the state data managed in vuex to ...
Anti-shake: Prevent repeated clicks from triggeri...