源列表 /etc/apt/sources.list (dist parse) 中的行格式错误,不允许我使用更新管理器

源列表 /etc/apt/sources.list (dist parse) 中的行格式错误,不允许我使用更新管理器

这是错误希望我能得到一些帮助,我向您展示了更新管理器和错误行,如果您需要其他东西只需提出要求即可。

update manager error prompt:

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 58 in source list /etc/apt/sources.list (dist parse), E:The list of sources could not be read., E:The package lists or status file could not be parsed or opened.'

================================================================================
error line:

deb http:mx.archive.ubuntu.com/ubuntu/ precise-updates main restricted

答案1

您的 URL 被损坏:

deb http:mx.archive.ubuntu.com/ubuntu/ precise-updates main restricted

应该:

deb http://mx.archive.ubuntu.com/ubuntu/ precise-updates main restricted

相关内容