Failed to upgrade from : Missing Location header

If you are trying to upgrade webmin from the web interface and you get the error «Failed to upgrade from : Missing Location header», then you can fix it very easily.

My suggestion is just to upgrade via yum following this 2 simply steps:

1.- Log in to your SSH console and create the /etc/yum.repos.d/webmin.repo, adding next lines:

name=Webmin Distribution Neutral

2.- install my GPG key with:
rpm –import

Now you can just use the command to upgrade webmin:

yum upgrade webmin