dnf install #packagename always tries previously failed installations before installing package

I am new to Linux/Fedora.
Previously I failed to install a package simply because the package’s name was wrong.

Now, whenever I install anything else with sudo dnf install #packagename, the software first tries to install this misnamed package. Additionally, it always tries to download a miniscule amount of data and install it as WineHQ.

Why does dnf install #packagename install anything else other than #packagename and its dependcies?
How do I stop this from happening?

Thanks