Ubuntu apt-get update更新时时报错
(wsw) wsw@wsw-90:~/wusong$ sudo apt-get update
[sudo] password for axera:
命中:1 http://mirrors.cn99.com/ubuntu bionic InRelease
命中:2 http://mirrors.cn99.com/ubuntu bionic-updates InRelease
命中:3 http://mirrors.cn99.com/ubuntu bionic-backports InRelease
命中:4 http://mirrors.cn99.com/ubuntu bionic-security InRelease
命中:5 http://mirrors.aliyun.com/docker-ce/linux/ubuntu bionic InRelease
命中:6 http://dl.google.com/linux/chrome/deb stable InRelease
命中:7 https://deb.nodesource.com/node_10.x bionic InRelease
正在读取软件包列表... 完成
W: 目标 Sources (restricted/source/Sources) 在 /etc/apt/sources.list:2 和 /etc/apt/sources.list:7 中被配置了多次
sudo vi /etc/apt/sources.list
再次去执行更新就ok了:
(wsw) wsw@wsw-90:~/wusong$ sudo apt-get update
命中:1 http://mirrors.cn99.com/ubuntu bionic InRelease
命中:2 http://mirrors.cn99.com/ubuntu bionic-updates InRelease
命中:3 http://mirrors.cn99.com/ubuntu bionic-backports InRelease
命中:4 http://mirrors.cn99.com/ubuntu bionic-security InRelease
命中:5 http://mirrors.aliyun.com/docker-ce/linux/ubuntu bionic InRelease
命中:6 http://dl.google.com/linux/chrome/deb stable InRelease
命中:7 https://deb.nodesource.com/node_10.x bionic InRelease
正在读取软件包列表... 完成
这样就搞定了~~~