1

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. – Thomas Dickey Feb 3 '16 at 9:33
  • You can use your local yum with --enablerepo=reponame. – Mongrel Feb 3 '16 at 9:52
  • @ThomasDickey maybe, but I was looking for a solution so that it shall not get confused and no conflict shall occur. – cyrilsebastian Feb 3 '16 at 19:09
  • @AvinashRedy could you please elaborate where and how can I use this command to disable and enable multiple repos – cyrilsebastian Feb 3 '16 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. – Thomas Dickey Feb 3 '16 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.