I am trying to follow along with Don's new Linux course, and use dnf to install webmin.
I am installing as sudo, and I can do a wget with an http url, but when I try to do something as simple as dnf list webmin it goes almost to the end then says 'failed to download metadata for repo 'webmin' I also made sure there are two certificates listed in:
/etc/pki/tls/certs so I am totally confused what else could be causing this.
-
Solved Failed to download metadata for repo 'webmin'
-
There's a few things that can cause that problem. The easy one is that Webmin is run by just one guy so occasionally his repo goes offline. If that is the case you will get the error you posted. However, I just checked and it is online for me, so that may not be the issue. Double check your /etc/yum.repos.d/webmin.conf file and make sure there aren't any typos. It should look like this:
[Webmin] name=Webmin Distribution Neutral #baseurl=https://download.webmin.com/download/yum mirrorlist=https://download.webmin.com/download/yum/mirrorlist enabled=1
Then, try re-importing the certificates to make sure the permissions are correct. You can do that by running:
cd ~ wget https://download.webmin.com/jcameron-key.asc sudo rpm --import jcameron-key.asc
Let me know if it still doesn't work and we can dig through the syslog and see what else is going on.
Thanks,
Don