手动卸载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.
解决方法:
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.