[CentOS] Upgrade perl; package conflict
tgh at tgharold.com
Wed Jul 9 10:41:03 UTC 2008
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:
> 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:
And adding (or changing) it to have enabled set to zero:
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].
More information about the CentOS