我运行sudo apt-get update
但它返回:
E: Malformed line 61 in source list /etc/apt/sources.list (dist parse)
E: The list of sources could not be read.
我通过以下方式打开了 sources.listvim /etc/apt/sources.list
第 61 行是:deb http://apt.postgresql.org/pub/repos/apt/precise-pgdg main
我不确定这有什么不妥。
答案1
后面缺少一个空格apt/
:
http://apt.postgresql.org/pub/repos/apt/ precise-pgdg