title: Install Python 3 on Centos 8 returns "Failed to synchronize cache for repo 'BaseOS'"
body: <p>I am using CentOS 8. I'm trying to install Python 3. Command: <code>sudo dnf install python3</code>. Error:</p>
  
  <blockquote>
    <p>Failed to synchronize cache for repo 'BaseOS'</p>
  </blockquote>
  
  <p>How can I fix this?</p>