【原因】sources.list中源不正确,修改其中的版本为对应版本即可。
版本代号如下:
20.04:focal;18.04:bionic;17.10:artful;16.04:xenial;14.04:trusty。
bionic
artful
xenial
trusty
【操作】
清华源
阿里源
中科大源
sudo gedit /etc/apt/sources.list
从上述源中,复制对应版本。之后保存关闭。
一定要刷新,sudo apt update
【参考】
Ubuntu 源使用帮助