ubuntu 更新失败,以至于ubuntu 软件中心打不开的解决方法

更新失败信息: 

E:Malformed line 59 in source list /etc/apt/sources.list (dist parse)


Issue - Update manager not functioning,does not read the complete packages,gets error -

Could not initialize the package information

An unresolvable problem occurred while initializing the package information.

Please report this bug against the 'update-manager' package and include the following error message:

'E:Malformed line 59 in source list /etc/apt/sources.list (dist parse)'


解决方法: gksudo gedit /etc/apt/sources.list 打开该文件后把最后面的第三方软件源全部清除掉,然后重启软件中心,OK!

你可能感兴趣的:(ubuntu)