yum is not obeying `includepkgs` option for sepcified repository

Solution Unverified - Updated -

Environment

  • Red Hat Enterprise Linux
  • yum

Issue

  • yum is not obeying includepkgs option for sepcified repository

  • includepkgs option is not working with repository

includepkgs=<packagename>*
includepkgs=<packagename-*>
includepkgs=<packagename>*

Resolution

  • includepkgs option for multiple packages can be used in single line in the repository i.e
includepkgs=<packagename>* <packagename-*> <packagename>*

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.