James B. Byrne
byrnejb at harte-lyne.ca
Thu May 19 12:50:10 UTC 2016
On Wed, May 18, 2016 07:39, Mauricio Tavares wrote:
> On Wed, May 18, 2016 at 4:32 AM, James Hogarth
> <james.hogarth at gmail.com> wrote:
>> On 17 May 2016 20:52, "Mauricio Tavares" <raubvogel at gmail.com>
>>> On Tue, May 17, 2016 at 3:04 PM, <cpolish at surewest.net> wrote:
>>> > On 2016-05-17 12:09, jd1008 wrote:
>>> >> Has anybody enabled this repo?
>>> >> I understand that it can really mess up updates and upgrades
>>> >> as the dependencies are rather different.
. . .
>>> Why not leave all the extra repos disabled, say
>>> sed -i -e 's/^enabled=1/enabled=0/' /etc/yum.repos.d/epel.repo
>>> and manually enable it when you need to get a package from said
>>> yum install -y libmcrypt --enablerepo=epel
>> Doing this means you won't get notified of updates in that repo.
>> This is
>> not a good idea.
> I see your point since you can setup repo priorities
>> CentOS mailing list
>> CentOS at centos.org
Having been bitten by this on several occasions I finally adopted the
policy of using the -- includepkgs= -- option and specifically naming
the packages that I want from a non-standard repo; and also using --
exclude= -- in the standard repo naming exactly the same packages as
those included elsewhere. You can use globbing in the package names
in both cases.
It is a little more work to set up but it is a lot safer to my way of
thinking, particularly where there are multiple sysadmins involved.
*** e-Mail is NOT a SECURE channel ***
Do NOT transmit sensitive data via e-Mail
Do NOT open attachments nor follow links sent by e-Mail
James B. Byrne mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited http://www.harte-lyne.ca
9 Brockley Drive vox: +1 905 561 1241
Hamilton, Ontario fax: +1 905 561 0757
Canada L8E 3C3
More information about the CentOS