使用yum报错:There are no enabled repos. Run “yum repolist all“ to see the repos you have

在ubuntu上安装了yum,执行yum命令就报错:
There are no enabled repos. Run “yum repolist all” to see the repos you have. You can enable repos

 

 

 

我之前使用lubunt的时候,是可以使用yum的,但是ubuntu不要去用。

所以,也就是说,Ubuntu直接用apt-get就行了,别用yum

posted @ 2021-04-09 15:00  墨尔本々  阅读(5475)  评论(0)    收藏  举报