I am trying to install an RPM (say "new-package.rpm") which depends on an RPM (say "required-package.rpm") available on the EPEL repository. So general way of installing the RPM is:
1. Install "epel-release.rpm" first
2. Then install "new-package.rpm". This automatically pulls in the "required-package.rpm"
Is there a way I can change this such that installing "new-package.rpm" will install "epel-release.rpm" and then the actual dependency by playing around the spec file? Is there a way to complete this in one transaction rather than two steps I described above?
If I mention dependencies on both "epel-release.rpm" and "required-package.rpm", it won't work because (obviously). Yum doesn't know where "required-package.rpm" exists unless the epel repo file is installed by "epel-release.rpm".
Resolving recursive dependencies with yum
Re: Resolving recursive dependencies with yum
No, you can't do that. "yum install epel-release" adds a new repository (the EPEL repository).
Only after this has been installed and the repos has been added, yum can retrieve the list of packages provided by the EPEL repository and can get the necessary information on the interdependencies of those packages.
Only after this has been installed and the repos has been added, yum can retrieve the list of packages provided by the EPEL repository and can get the necessary information on the interdependencies of those packages.
-
- Posts: 10
- Joined: 2017/05/29 19:31:57
Re: Resolving recursive dependencies with yum
Thanks a lot