1、在Ubuntu 22.04中更新软件源,可以编辑/etc/apt/sources.list
文件,将现有的源地址替换为新的源地址
sudo nano /etc/apt/sources.list
deb http://mirrors.163.com/ubuntu/ jammy main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ jammy-updates main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ jammy-security main restricted universe multiverse deb http://mirrors.163.com/ubuntu/ jammy-backports main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ jammy main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ jammy-updates main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ jammy-security main restricted universe multiverse deb-src http://mirrors.163.com/ubuntu/ jammy-backports main restricted universe multiverse
2、更新软件源:
sudo apt update标签:http,更换,Ubuntu22.04,jammy,mirrors.163,restricted,main,multiverse From: https://www.cnblogs.com/ksky-2023/p/18488271