Ubuntu无法从16.04升级到18.04


之前Ubuntu系统一直用的16.04,虽然20.04硬件出来了,在VMWare里面试用了一段时间,问题还很多,于是考虑暂时升级到18.04, 结果发现多个库报错, 无法升级, 卸载了一堆还是不行, 貌似官方源有问题, 移除了某些依赖导致的, 于是换阿里源就好了

/etc/apt/sources.list先备份,再新建一个换成阿里源

deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse

内容版权声明:除非注明,否则皆为本站原创文章。

转载注明出处:https://11000011.com/?id=669

« 上一篇 下一篇 »

我要评论

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

主机推荐

  • 搬瓦工