昨天我安装chrome浏览器时,最后源出了点问题,导致apt-get update不能使用了,报错如下:
```neal@ubuntu:~$ apt-get update
E: Malformed line 1 in source list /etc/apt/sources.list.d/google-chrome.list (type)
E: The list of sources could not be read.```
其实解决方法很简单:
```$sudo rm /etc/apt/sources.list.d/google-chrome.list```
然后就OK了。
当然有时候问题是出在source list /etc/apt/sources.list里,那么你就把出问题的那一项用#注释掉就好了。