Koozali.org: home of the SME Server

yum update - multilib problems

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
yum update - multilib problems
« on: January 04, 2016, 04:58:45 PM »
just to share. wanted to yum update but my sme testbox complained it had multilib problems:

Code: [Select]
Error: Protected multilib versions:Freetype-longversionumber.i686 != Freetype-otherlongversionumber.x86_64
and some others as well

solved by updating only the two conflicting packages like

Code: [Select]
yum update package.i686 package.x86_64 --enablerepo=*
and checking if the repos from which the most updates packages came were ok.

M
MagWm

Offline Stefano

  • *
  • 10,894
  • +3/-0
Re: yum update - multilib problems
« Reply #1 on: January 04, 2016, 05:22:30 PM »
updated many SME from 9 to 9.1 and no issues at all..

can you please give us as much details as you can? thank you

Offline magwm

  • *
  • 159
  • +0/-0
  • SmeLover
    • Gadis Tourist Service Italia SRL
Re: yum update - multilib problems
« Reply #2 on: January 05, 2016, 06:22:27 PM »
i'd like to, but I have no history of the yum error outputs.. so I cannot reproduce anything, regretfully.

on this box I have quite some other repos installed for contribs and php versions, so probably there were some libraries elsewhere that were newer than those in sme repos..

anyway the problem was related to i686 and x86_64 libraries being updated to different versions, so yum would warn me and stop.

I solved by updating _only_ the conflicting libraries, both architectures at the same time, like
Code: [Select]
yum update lib.i686 lib.x86_64
so yum could choose which newer available versions were identical (multilib must be of same version number).

ciao buona befana!
MagWm