Knowledgebase

A package is filtered out by exclude filtering

The message "A package is filtered out by exclude filtering" typically means that a package is being excluded from installation or update due to certain configuration settings.

This is commonly seen when using package managers like Yum (used on Red Hat-based systems) and DNF (used on newer versions of Fedora and CentOS).

Here are some steps you can take to address this issue:

  1. Check Yum/DNF Configuration:

    • Review your Yum or DNF configuration files. These are typically located in /etc/yum.conf or /etc/dnf/dnf.conf. Look for lines starting with "exclude". These lines list patterns of packages to exclude from being installed or updated.
  2. Review Repository Configuration:

    • In the /etc/yum.repos.d/ directory, check the repository configuration files. They might contain specific exclusion rules for certain packages.
  3. Check Command Line Options:

    • If you're using the yum or dnf command directly, check if there are any --exclude options being used that might be causing the package to be skipped.
  4. Check Configuration Files for Package Managers:

    • Some package managers, like yum and dnf, allow for additional configuration files in the /etc/yum/ or /etc/dnf/ directories. Check for any additional excluded configurations in these files.
  5. Verify Patterns in Exclude List:

    • Ensure that the package name or pattern you're trying to install or update is not included in the exclude list.
  6. Remove or Modify Exclude Rules:

    • If you find the exclude rule that is causing the issue, you can either remove it or modify it to include the package you want to install or update.
  7. Update or Install Packages with Exclusions Removed:

    • After modifying the configuration, try updating or installing the package again.
  8. Check for Specific Repository:

    • It's also possible that the package you're trying to install is provided by a specific repository that isn't enabled. Ensure you have the appropriate repository enabled.

Remember to make backups of any configuration files you modify, and be cautious when making changes to package manager configurations, as they can have wide-ranging effects on your system. If you're unsure, consult with your system administrator or refer to the documentation for your specific Linux distribution.

 
  • 0 Users Found This Useful
Was this answer helpful?