I am using RHEL7.

If I do a fresh install of RHEL7(with connected internet) and then installing epel rpm. All the packages are getting installed after that. But then few packages have dependencies and I found those packages are available if I create a local yum.

Whenever I create local yum either it does not work properly or epel do not work. (If local yum works properly epel do not work).

is there any command am not running

  • yum looks at all of your repositories to (attempt to) resolve dependencies. If your local repository has packages with the same name but different version numbering, that can confuse it. Feb 3, 2016 at 9:33
  • You can use your local yum with --enablerepo=reponame.
    – AReddy
    Feb 3, 2016 at 9:52
  • @ThomasDickey maybe, but I was looking for a solution so that it shall not get confused and no conflict shall occur. Feb 3, 2016 at 19:09
  • @AvinashRedy could you please elaborate where and how can I use this command to disable and enable multiple repos Feb 3, 2016 at 19:09
  • 1
    I think you need to clarify the type of problem you are seeing, to get useful answers. For instance, if the packages which are conflicting are from another repository, you could fix that by including that repository. Or if they are customized packages (only available locally) you are probably better off just using the repository. You could also try changing the repository priorities using yum-plugin-priorities, which is available for RHEL7. Feb 3, 2016 at 22:14


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.