If I have the RPM on the 'localsync' repo as well as externally (say, from CentOS 7 updates), which repo will it be taken from?
- Simple solution: sync all that you need and disable the 'updates' repo. I'm in favor. Same for the 'base' repo and any other repo. Essentially, all that the VM needs should be in the 'localsync' repo.
- Simple solution #2 : rename 'localsync' to 'alocalsync' - just to make sure it is the first looked at...
Before:
[root@lago_basic_suite_3_6_engine ~]# egrep "Updated|Installed" /var/log/yum.log | awk -F\: '{print $NF}' |xargs yum info |grep "From repo" |egrep -c "base|updates"
87
After the change:
[root@lago_basic_suite_3_6_engine ~]# egrep "Updated|Installed" /var/log/yum.log | awk -F\: '{print $NF}' |xargs yum info |grep "From repo" |egrep -c "base|updates"
1