Knowledgebase

MariaDB repository and package manager error "[Errno 14] HTTP Error 404 - Not Found Trying other mirror"

The error message you're encountering, "[Errno 14] HTTP Error 404 - Not Found Trying another mirror," indicates that your system is having trouble accessing the repository for MariaDB. This can occur for various reasons, such as an incorrect repository URL, a temporary issue with the repository server, or a misconfiguration on your system.

Here's what you can do to address this issue:

  1. Check Repository URL:

    • Verify that the repository URL for MariaDB is correct. It's possible that the URL has changed or that there is a typo in the repository configuration file.
  2. Update Repository Configuration:

    • Open the repository configuration file for MariaDB. This is usually found in /etc/yum.repos.d/ a directory and is typically named something like MariaDB.repo or similar. Confirm that the base URL and repository information is correct.
  3. Clear Yum Cache:

    • Clear the yum cache to ensure that you're fetching the latest repository information:
    bash

 

  • sudo yum clean all
  • Try a Different Mirror:

    • If the issue persists, you can try using a different mirror for MariaDB. You can often find a list of mirrors on the MariaDB website.
    bash

 

  1. sudo vi /etc/yum.repos.d/MariaDB.repo

    Change the base URL to a different mirror and save the file.

  2. Verify Internet Connectivity:

    • Ensure that your server has a working internet connection and that there are no network issues preventing yum from accessing the repository.
  3. Temporary Repository Issue:

    • Sometimes, the repository server itself may be experiencing temporary issues. In such cases, the problem might resolve on its own after some time.
  4. Check for MariaDB Repository Updates:

    • MariaDB may have made updates or changes to their repositories. It's a good idea to periodically check their website or community forums for any announcements or updates related to the repository.
  5. Verify Repository Availability:

    • Ensure that the repository is still active and available. Some repositories may become deprecated or no longer supported.

If none of the above steps resolve the issue, consider reaching out to MariaDB's support or community forums for further assistance. They may have specific troubleshooting steps or insights into the issue you're experiencing.

 
  • 0 Users Found This Useful
Was this answer helpful?