ubuntu18.04 sudo apt-get update出错

【原因】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,一切顺利。

【参考】

Ubuntu 源使用帮助

猜你喜欢

转载自www.cnblogs.com/xixixing/p/12199210.html
今日推荐