

Another possible reason is network access denial due to the firewall in the system. In short, yum error downloading packages occur due to corrupted cache or repository. So we whitelist these IPs listed in the Public CIDR list. Basically, there are multiple servers resolving to this address. Usually, yum download the packages using the base URL in the config file. Because outdated whitelist restricts access to the CDN can result in errors. In addition, we also ensure to whitelist the Public CIDR list for Red Hat.

So, we check the access to the repository URL by ping. Similarly, network access is important for yum updates. Later, we check if the update is running successfully. And removes the error causing local repositories. Our Experts check the files under both RHN classic and RHSM. Initially, we list the files using the command, ll /etc/ So our Support Engineers check the folder And accessing these repositories while updating can cause errors. In some servers, the yum repository contains corrupted files. Later, we clean up the yum folder using the command, yum clean allįinally, we check the yum update again. For this, we use the command, yum clean metadata In addition, we also delete the metadata for the enables repositories. Hence our Support Engineers delete the cache using the command, rm -rf /var/cache/yum/* Old cache in the system can cause errors while downloading packages. Now let’s have a look at each reason and its fix. The error message while installing the FTP package appears as, How we fix the yum error in downloading packages? Let’s check out how our Support Engineers fix this error in each case. Mostly, this happens due to errors with yum cache, local files in the repository folder, outdated firewall rules, etc. However, sometimes we have seen this yum updates ending up with an error. We often use yum to install packages and dependencies in a single command. Why does yum downloading packages end up in error? And see how our Support Engineers fix this. Today, let’s have a look into this yum error.


This can also occur due to an outdated whitelist of the Public CIDR list.Īt Bobcares, we often fix yum errors, as a part of our Server Management Services. Usually, corrupted yum cache or repo directory ends up in this error. Not able to download packages with yum due to the error ‘ No more mirrors to try’? We can help you with it.
