Can't install - Curl error (18)

SYSTEM INFORMATION
OS type and version Rocky 9.5
Webmin version 2.202-1

I’m trying to install Webmin on a brand new installation of Rocky. All the dependencies download fine but when I get to the Webmin RPM I get repeated failures.
The command I am entering to install is dnf install webmin
The result everytime I have pasted below. I tried several times yesterday and again this morning and the result is always the same (the number of bytes remaining changes every time). There are four MIRROR lines but I can only post two links as a newbie here.
What is the resolution? I’m wondering whether I can separately download the file and provide it to the system?

[MIRROR] webmin-2.202-1.noarch.rpm: Curl error (18): Transferred a partial file for https://download.webmin.com/download/newkey/yum/webmin-2.202-1.noarch.rpm [transfer closed with 8407372 bytes remaining to read]
[MIRROR] webmin-2.202-1.noarch.rpm: Curl error (18): Transferred a partial file for https://download.webmin.com/download/newkey/yum/webmin-2.202-1.noarch.rpm [transfer closed with 5458252 bytes remaining to read]

[FAILED] webmin-2.202-1.noarch.rpm: No more mirrors to try - All mirrors were already tried without success

The downloaded packages were saved in cache until the next successful transaction.
You can remove cached packages by executing ‘dnf clean packages’.
Error: Error downloading packages:
webmin-2.202-1.noarch: Cannot download, all mirrors were already tried without success

Have you using the instruction here

?

Nearly :slight_smile: I had used similar commands (copying my instructions from last time I installed it), which used a different script setup-repos.sh (i.e. without the webmin-). Just tried using the instructions from that page but still the same issue.
I just opened https://download.webmin.com/download/newkey/yum/webmin-2.202-1.noarch.rpm on a Windows machine and it also stopped on first download, I clicked retry and it completed.
So I now have the rpm file locally (but not in the right place or on the right PC) - is it possible at all to insert it onto the Linux machine, either in the right place or from a local file.
I have found the command that I need to run: dnf localinstall [package_name].rpm but just wondering about how the system handles an upgrade if I install a specific file rather than letting it download itself?

To answer my own question, I have done some digging and discovered that if I drop the rpm file that I succesfully downloaded on a Windows machine into the /var/cache/dnf/webmin-noarch-4b759b63d8bcb6f2/packages folder and re-run dnf install webmin then dnf skipped trying to download and installed the package.