Why isn't a package available in a repo?
I am using priorities. I am trying to install git from the PUIAS repo. Why doesn't it show as available? Thank you
Code:
[root@michaels gitlab]# yum repolist |
No mystery here. You have that repo set at priority 90,.. so the base repo set at priority 1 is overriding it.
Quote:
example output: Code:
#yum --disablerepo=* --enablerepo=epel repolist |
Thanks szboardstretcher, I obviously wasn't thinking.
I tried the following, but resulted in an error since git needed a dependency. Got around it by disabling priorities, but would like to know the proper way to do it. Code:
yum --disablerepo=* --enablerepo=PUIAS_6_computational install git |
Priorities works. It's not 'wrong' to use it. But, IMO, it becomes a real pain in the ass to keep it working correctly across 100+ servers.
But to find dependencies ahead of time,. you can install yum-utils, and use: Code:
repoquery --requires packagename |
That sounds like a pain. I would have thought there would have been a way to specify a repository for a given package. Why not just for the few times you want to override your priorities, do as follows? Will this cause problems when upgrading?
Code:
yum --disableplugin=priorities install git |
All times are GMT -5. The time now is 06:47 PM. |