"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.

* 其中的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.

 

posted @ 2021-11-02 00:46  Clotho_Lee  阅读(1215)  评论(0)    收藏  举报