最近阿里镜像源会报错
忽略:68 http://mirrors.aliyun.com/deepin bionic-proposed/main Sources
忽略:69 http://mirrors.aliyun.com/deepin bionic-proposed/multiverse Sources
忽略:70 http://mirrors.aliyun.com/deepin bionic-proposed/universe Sources
忽略:71 http://mirrors.aliyun.com/deepin bionic-proposed/restricted amd64 Packages
忽略:72 http://mirrors.aliyun.com/deepin bionic-proposed/universe all Packages
忽略:73 http://mirrors.aliyun.com/deepin bionic-proposed/multiverse amd64 Packages
忽略:74 http://mirrors.aliyun.com/deepin bionic-proposed/restricted all Packages
忽略:75 http://mirrors.aliyun.com/deepin bionic-proposed/main i386 Packages
忽略:76 http://mirrors.aliyun.com/deepin bionic-proposed/main amd64 Packages
忽略:77 http://mirrors.aliyun.com/deepin bionic-proposed/multiverse all Packages
错误:83 http://mirrors.aliyun.com/deepin bionic-backports/multiverse Sources
404 Not Found [IP: 116.11.124.248 80]
忽略:84 http://mirrors.aliyun.com/deepin bionic-backports/universe Sources
忽略:85 http://mirrors.aliyun.com/deepin bionic-backports/restricted Sources
忽略:86 http://mirrors.aliyun.com/deepin bionic-backports/main Sources
忽略:87 http://mirrors.aliyun.com/deepin bionic-backports/restricted all Packages
忽略:88 http://mirrors.aliyun.com/deepin bionic-backports/universe i386 Packages
忽略:89 http://mirrors.aliyun.com/deepin bionic-backports/multiverse i386 Packages
忽略:90 http://mirrors.aliyun.com/deepin bionic-backports/universe all Packages
忽略:91 http://mirrors.aliyun.com/deepin bionic-backports/main amd64 Packages
忽略:92 http://mirrors.aliyun.com/deepin bionic-backports/multiverse amd64 Packages
忽略:93 http://mirrors.aliyun.com/deepin bionic-backports/main all Packages
已下载 44.8 kB,耗时 48秒 (931 B/s)
正在读取软件包列表... 完成
W: 仓库 “http://mirrors.aliyun.com/deepin bionic Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: 仓库 “http://mirrors.aliyun.com/deepin bionic-security Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: 仓库 “http://mirrors.aliyun.com/deepin bionic-updates Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: 仓库 “http://mirrors.aliyun.com/deepin bionic-proposed Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: 仓库 “http://mirrors.aliyun.com/deepin bionic-backports Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
W: 仓库 “https://dl.bintray.com/sbt/debian Release” 没有 Release 文件。
N: 无法认证来自该源的数据,所以使用它会带来潜在风险。
N: 参见 apt-secure(8) 手册以了解仓库创建和用户配置方面的细节。
N: 鉴于仓库 'http://repo.mongodb.org/apt/debian stretch/mongodb-org/4.0 InRelease' 不支持 'i386' 体系结构,跳过配置文件 'main/binary-i386/Packages' 的捕获。
E: 无法下载 http://mirrors.aliyun.com/deepin/dists/bionic/universe/source/Sources 404 Not Found [IP: 116.11.124.248 80]
E: 无法下载 http://mirrors.aliyun.com/deepin/dists/bionic-security/main/source/Sources 404 Not Found [IP: 116.11.124.248 80]
E: 无法下载 http://mirrors.aliyun.com/deepin/dists/bionic-updates/universe/source/Sources 404 Not Found [IP: 116.11.124.248 80]
E: 无法下载 http://mirrors.aliyun.com/deepin/dists/bionic-proposed/restricted/source/Sources 404 Not Found [IP: 116.11.124.248 80]
E: 无法下载 http://mirrors.aliyun.com/deepin/dists/bionic-backports/multiverse/source/Sources 404 Not Found [IP: 116.11.124.248 80]
E: 无法下载 https://dl.bintray.com/sbt/debian/Packages 404 Not Found
E: 部分索引文件下载失败。如果忽略它们,那将转而使用旧的索引文件。
我们更换中科大镜像源即可:
1. 备份原文件
sudo mv /etc/apt/sources.list /etc/apt/sources.list_bak
2. 编辑源列表文件
sudo vim /etc/apt/sources.list
3. 添加如下内容
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-security main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-updates main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-proposed main restricted universe multiverse
deb-src http://mirrors.ustc.edu.cn/ubuntu/ xenial-backports main restricted universe multiverse
4. 更新镜像源
sudo apt update