【原因】sources.list中源不正确。修改其中的版本为对应版本即可。如把xenial改为bionic。
版本代号如下:
 18.04:bionic;17.10:artful;16.04:xenial;14.04:trusty。
【操作】sudo gedit /etc/apt/sources.list
替换对应版本后保存即可。再次sudo apt-get update,一切顺利。
【参考】
ubuntu18.04 sudo apt-get update出错
原文:https://www.cnblogs.com/xixixing/p/12199210.html