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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM