赞
踩
打开应用程序中的软件和更新--中国的服务器--aliyun,选择服务器(此处也可以选择华为,清华,中科大等镜像源)--重新载入
通过命令行更新系统(如果因网络连接问题无法更新,可以选择换源)
sudo apt update
sudo apt upgrade
2. 更新完成后,重启系统。
1. 备份sources.list文件
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
2. 打开sources.list文件
sudo gedit /etc/apt/sources.list
3. 删除原内容,添加下列内容(这里换的是阿里云和清华镜像)
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-updates main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-security main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic-backports main restricted universe multiverse
deb http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main universe restricted
deb-src http://mirrors.tuna.tsinghua.edu.cn/ubuntu-ports/ bionic main universe restricted
4. 更新
sudo apt update
sudo apt upgrade
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。