本机系统环境介绍
Ubuntu系统环境介绍介绍
Ubuntu版本:18.04.1
系统配置: 64位
Linux内核:5.3.0-42-generic
错误描述:W: 冲突的发行版:https://typora.io ./linux/ InRelease (期望 ./linux/ 但得到 )
解决思路
错误演示
acestang@acestang:~$ sudo apt-get update
获取:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
命中:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
获取:3 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
获取:4 https://typora.io ./linux/ InRelease [793 B]
获取:5 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
命中:6 http://linux.teamviewer.com/deb stable InRelease
命中:7 https://download.docker.com/linux/ubuntu bionic InRelease
已下载 253 kB,耗时 5秒 (46.3 kB/s)
正在读取软件包列表... 完成
W: 冲突的发行版:https://typora.io ./linux/ InRelease (期望 ./linux/ 但得到 )
解决错误
编辑 acestang@acestang:~$ sudo vi /etc/apt/sources.list
找到跟错误提示相关的软件,比如我的提示typora.io 是这个,直接找到这一行,删除,保存退出
再次执行sudo apt-get update就可以
acestang@acestang:~$ sudo apt-get update
获取:1 http://security.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]
命中:2 http://cn.archive.ubuntu.com/ubuntu bionic InRelease
命中:3 http://linux.teamviewer.com/deb stable InRelease
获取:4 http://cn.archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]
获取:5 http://cn.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]
命中:6 https://download.docker.com/linux/ubuntu bionic InRelease
已下载 252 kB,耗时 11秒 (22.7 kB/s)
正在读取软件包列表... 完成