Warning: failed loading ‘/etc/yum.repos.d/webmin.repo’, skipping

Latest response

Trying to add a Webmin.repo file in /etc/yum.repos.d but I keep getting this message:

    Warning: failed loading ‘/etc/yum.repos.d/webmin.repo’, skipping.

the contents are the same as the direction states:

[Webmin]
name=Webmin Distribution Neutral
### not using ### baseurl=https://download.webmin.com/download/yum
mirrorlist=https://download.webmin.com/download/yum/mirrorlist
enabled=1
gpgkey=https://download.webmin.com/jcameron-key.asc
gpgcheck=1

how to I correct this?

Responses

I found the problem as I looked over my settings, I somehow left out the [Webmin] tag and now its working as expected.

Hi Nasheayahu,

It is always a good practice to check the repos. For example, on RHEL 8 and above:

$ sudo dnf repoinfo

or this (you must use verbose flag):

$ sudo repolist -v 

Then, verify return code. If it is not 0, then you have a problem somewhere. In you case, as you said, it was a wrong or missing tag.

Regards,

Dusan Baljevic (amateur radio VK2COT)