手動卸載Ambari后,如果安裝新程序時報以下錯誤:
E: Malformed entry 1 in list file /etc/apt/sources.list.d/ambari-hdp-51.list (URI parse)
E: The list of sources could not be read.
* 其中的51也可能是其它數值。
解決方法:
rm /etc/apt/sources.list.d/ambari-hdp-51.list
E: Malformed entry 1 in list file /etc/apt/sources.list.d/ambari-hdp-51.list (URI parse)E: The list of sources could not be read.