Saturday, May 26, 2012

YUM strange behaviour

Today I was trying to compile kiwix source code and it was showing "error:unable to find nsISupports.idl". I executed "yum whatprovides nslSupports.idl" but no results, then I moved to google and found out xulrunner-devel is provide that dependency. I again rechecked using "repoquery -l xulrunner-devel" and found out "/usr/share/idl/xulrunner-2/nsISupports.idl". I have no idea why yum or repoquery was not able to find out xulrunner-devel is provide nslSupports.idl or am I using wrong options?

Then I executed "yum install xulrunner-devel" and got Error: Protected multilib versions: krb5-libs-1.10-5.fc17.i686 != krb5-libs-1.10-6.fc17.x86_64. I didn't able to figure it out how to resolve it. Any Suggestions?

9 comments:

29efe356-a759-11e1-9dc4-000bcdca4d7a said...

Try 'yum install --setopt=protected_multilib=false [package]'

Praveen Kuamr said...

Thanks for suggestion, now xulrunner-devel is installing but I am still having concern repoquery whatprovide <.idl>, why it's not showing xulrunner.

Praveen Kuamr said...

No still showing "Transaction Check Error:
package krb5-libs-1.10-6.fc17.x86_64 (which is newer than krb5-libs-1.10-5.fc17.i686) is already installed
file /etc/krb5.conf from install of krb5-libs-1.10-5.fc17.i686 conflicts with file from package krb5-libs-1.10-6.fc17.x86_64" after executing 'yum install --setopt=protected_multilib=false [package]'

ZiN said...

Try yum whatprovides '*/nslSupports.idl'

Praveen Kuamr said...

@Zin tried but no results
[root@pkumar222 daredevil]# yum whatprovides '*/nslSupports.idl'
Loaded plugins: langpacks, presto, refresh-packagekit
No Matches found

Ankur Sinha said...

Could it be because you're looking for nsISupports.idl (I, not L)?

yum finds that:


[root@ankur ~]# yum whatprovides */nsISupports.idl

xulrunner-devel-12.0-1.fc17.i686 : Development files for Gecko
Repo : fedora
Matched from:
Filename : /usr/share/idl/xulrunner-2/nsISupports.idl



xulrunner-devel-12.0-1.fc17.x86_64 : Development files for Gecko
Repo : fedora
Matched from:
Filename : /usr/share/idl/xulrunner-2/nsISupports.idl


xulrunner-devel does not include any nslSupports.idl (small L)

Praveen Kuamr said...

@Ankur Yes you are right, it was I not l :), any idea about error?

Kevin Kofler said...

The problem is that your krb5-libs.i686 is outdated, you need to either update it or remove it before installing the current krb5-libs.x86_64.

Praveen Kuamr said...

@Kevin Thanks, Yesterday I did that and got krb5-lib installed.