"Malformed entry 1 in list file /etc/apt/sources.list.d/ambari-hdp-51.list"的解决方法

手动卸载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.

 

上一篇:HDP2.6.5, HDP安装配置


下一篇:安装HDP集群过程中的报错