![我无法更新 Linux 12.04 LTS](https://linux22.com/image/833659/%E6%88%91%E6%97%A0%E6%B3%95%E6%9B%B4%E6%96%B0%20Linux%2012.04%20LTS.png)
如果我尝试更新我的 Linux Ubuntu 12.04 LTS,我会收到以下消息:
Could not initialise the package information
An unresolvable problem occurred while initialising the package information.
Please report this bug for the 'update-manager' package and try to include the following error message:
'E:Malformed line 5 in source list /etc/apt/sources.list (dist parse)'
我怎么解决这个问题?
/etc/apt/sources.list
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://www.mozilla.org main
deb-src http://www.mozilla.org main
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
答案1
您可以通过撤消对 sources.list 所做的更改(这会破坏文件)来解决这个问题。如果您不确定要更改什么,请将整个文件添加到您的问题中(不要将其作为评论发布)。
在 sources.list 共享后进行编辑:
您需要删除那些虚假的 mozilla.org 行,它们毫无意义。