[CentOS] yum force

Benjamin Franz jfranz at freerun.com
Tue Jun 15 22:52:15 UTC 2010


On 06/15/2010 03:26 PM, Kahlil Hodgson wrote:
> On 06/16/2010 06:10 AM, m.roth at 5-cent.us wrote:
>    
>> I'm trying to do an update to some servers... and they have both i386 and
>> x86_64 perl. The latter won't update, because the idiotic *man pages* are
>> dups. Is there *any* way, short of using rpm directly with a --force, to
>> get yum to ignore the dups and do the update?
>>      
The only answer I've come up that works reliably is rebuilding at least 
one of the conflicting rpms with the man page generation suppressed.

Add: INSTALLDIRS=site INSTALLMAN1DIR=none INSTALLMAN3DIR=none

to the line of the spec file with the 'Makefile.PL' entry.

-- 
Benjamin Franz




More information about the CentOS mailing list