Re: Upgrade perl; package conflict

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Johnny Hughes wrote:

is it possible that you have extras set at a different priority than base ... you also have the protectbase installed along with priorities (not recommended).

You should have these settings for [extras], [base] and [updates] sections in CentOS-Base.repo:

priority=1
protect=1

You should also (after properly configuring your repo files), use yum-priorities and remove yum-protectbase.


According to the wiki, it seems like editing the file:

/etc/yum/pluginconf.d/protectbase.conf

And adding (or changing) it to have enabled set to zero:

[main]
enabled = 0

Would disable the protectbase plugin. Is this a valid way of disabling yum-protectbase in preference for yum-priorities?

...

For my system, I did the following to fix the issue:

A) Make sure that [extras], [base], and [upgrades] were all at the same priority level (I used priority=1 for all three of those sections)

B) Disabled yum-protectbase as shown above (putting enabled=0 in the [main] section) in the protectbase.conf file under /etc/yum/pluginconf.d/

C) Ran the upgrade command for just perl:

yum --disablerepo=\* --enablerepo=updates --enablerepo=base
 --enablerepo=extras upgrade perl

...

Many thanks to Gregory for pointing out a good fix for this issue. I suspect it all goes back to having [extras] at a different priority level then [base] and [upgrades].
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux