See https://fedoraproject.org/wiki/Dnf and man dnf
The second process is downloading repo information, wait for it to finish ;)
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.