Ask Your Question
1

unresolved dependecies with mono

asked 2015-04-08 04:37:36 -0500

Kolera gravatar image

updated 2015-04-15 13:45:34 -0500

mether gravatar image

Hi, i get this problem when i try to update my fedora 21

 Multilib version problems found. This often means that the root
    cause is something else and multilib version checking is just
    pointing out that there is a problem. Eg.:

      1. You have an upgrade for mono-core which is missing some
         dependency that another package requires. Yum is trying to
         solve this by installing an older version of mono-core of the
         different architecture. If you exclude the bad architecture
         yum will tell you what the root cause is (which package
         requires what). You can try redoing the upgrade with
         --exclude mono-core.otherarch ... this should give you an error
         message showing the root cause of the problem.

      2. You have multiple architectures of mono-core installed, but
         yum can only see an upgrade for one of those architectures.
         If you don't want/need both architectures anymore then you
         can remove the one with the missing update and everything
         will work.

      3. You have duplicate versions of mono-core installed already.
         You can use "yum check" to get yum show these errors.

    ...you can also use --setopt=protected_multilib=false to remove
    this checking, however this is almost never the correct thing to
    do as something else is very likely to go wrong (often causing
    much more problems).

    Protected multilib versions: mono-core-2.10.8-8.fc21.i686 != mono-core-3.12.1-0.x86_64

I dont really remember what was i doing to cause this. I was installing some program and some thing. please help me to solve this

edit retag flag offensive close merge delete

Comments

mono-core-2.10.8-8.fc21.i686 comes from the Fedora repos, mono-core-3.12.1-0.x86_64 comes from mono-project.com repos. Do you still have this third party repo enabled?

randomuser gravatar imagerandomuser ( 2015-04-10 14:06:34 -0500 )edit

3 Answers

Sort by » oldest newest most voted
1

answered 2015-04-15 05:24:56 -0500

tpokorra gravatar image

updated 2015-04-15 05:51:22 -0500

I can reproduce this problem without any mono-core installed:

the machine is 64 bit. add Xamarin repo that only provides x86_64 packages. same goes for eg. copr repos.

yum list mono-core shows:

 Available Packages
 mono-core.i686          2.10.8-8.fc21        fedora                  
 mono-core.x86_64      3.12.1-0              download.mono-project.com_repo_centos_

It seems the mirrors have i686 packages in the same repo as x86_64: http://ftp.informatik.uni-frankfurt.d...

Perhaps the reason for the problem is that the Xamarin repo only has x86_64 packages.

For me, the solution is to ignore all packages containing i686:

Add to your /etc/yum.conf:

exclude=*.i?86

Then run yum clean all. yum list mono-core now only should show the Xamarin package.

edit flag offensive delete link more

Comments

you have mix of repo xamarin repos and fedora repos, but xamarin repos are for centos while you are in Fedora that is causing the issue. My advise will be to set ignore mono in fedora repos that way it will not mix in the future.

aeperezt gravatar imageaeperezt ( 2015-04-15 09:43:59 -0500 )edit

It isn't an architecture problem. I think there's probably some installed package's requirements pulling Fedora's mono into the transaction.

randomuser gravatar imagerandomuser ( 2015-04-15 14:40:34 -0500 )edit
1

answered 2015-04-08 10:44:37 -0500

aeperezt gravatar image

updated 2015-04-08 10:45:02 -0500

You have some i686 and x86_64 mix on your installation will recommend to remove the i686 packages so it solve your issue.

yum remove mono-core-2.10.8-8.fc21.i686

edit flag offensive delete link more
0

answered 2015-04-08 14:38:53 -0500

Kolera gravatar image

When i run yum remove mono-core-2.10.8-8.fc21.i686 it says i dont have that package installed

edit flag offensive delete link more

Comments

try it like this yum remove mono-core-2.10.8-8

aeperezt gravatar imageaeperezt ( 2015-04-08 14:51:48 -0500 )edit

nope i can only remove mono-core.x86_64. i dont have mono-core-2.10.8-8

Kolera gravatar imageKolera ( 2015-04-08 14:55:40 -0500 )edit

Well you must have some i686 package because that is what it show the information you posted do a yum check and see what it show. sometimes it is a dependency on that particular package in any case if you remove it and update so yum can complete your process solve it.

aeperezt gravatar imageaeperezt ( 2015-04-08 14:59:44 -0500 )edit

well i understand what are you saying, but it seems i cant find any other package. [milan@localhost ~]$ sudo yum check Учитани додаци: fastestmirror, langpacks check all

Kolera gravatar imageKolera ( 2015-04-08 15:23:50 -0500 )edit

can you run yum update with no issue?

aeperezt gravatar imageaeperezt ( 2015-04-08 15:33:58 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-04-08 04:37:36 -0500

Seen: 762 times

Last updated: Apr 15 '15