1.cd /etc/apt/sources.list.d/,打开official-lackage-repositories.list文件,可以看到
deb http://packages.linuxmint.com tricia main upstream import backport
deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
修改以后是这样:
deb http://mirrors.ustc.edu.cn/linuxmint tricia main upstream import backport
deb http://mirrors.aliyun.com/ubuntu bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu bionic-backports main restricted universe multiverse
然后保存
2.运行apt update -y和apt upgrade -y