You are not logged in.

#1 2014-05-09 07:41:11

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 388

[SOLVED]gcc-libs and gcc-libs-multilib are in conflict

Can't update today.

[glow@GlowArch ~]$ sudo pacman -Syuv
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 catalyst is up to date
:: Starting full system upgrade...
warning: android-udev: local (98-1) is newer than community (r100-1)
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs and gcc-libs-multilib are in conflict

I assume there is some update going on, i will try again in some time.

Last edited by GloW_on_dub (2014-05-09 14:04:57)

Offline

#2 2014-05-09 08:10:38

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

This is normal when gcc gets updated. You typically have to wait a bit while gcc-libs-multilibs is moved from [testing].


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#3 2014-05-09 08:15:01

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 388

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

This was my understanding reading older posts, thanks.

Offline

#4 2014-05-09 11:08:00

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,928

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

GloW_on_dub, clfaroon4 mentions 1 of the possible causes for this error.

However, another cause is that 1 of your installed programs is not the multilib version, but the standard non-multilib version..

you can check if this case is valid by for you by running pacman -Syu --ignore gcc-libs .
NOTE : the output will only be useful if gcc-libs and  gcc-libs-multilib have different versions.

Last edited by Lone_Wolf (2014-05-09 11:08:12)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2014-05-09 12:24:56

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 388

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

[glow@GlowArch ~]$ sudo pacman -Syu --ignore gcc-libs
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 catalyst is up to date
:: Starting full system upgrade...
warning: android-udev: local (98-1) is newer than community (r100-1)
resolving dependencies...
warning: ignoring package gcc-libs-4.9.0-2
warning: cannot resolve "gcc-libs=4.9.0-2", a dependency of "gcc"
warning: cannot resolve "gcc=4.9.0-2", a dependency of "gcc-fortran"
:: The following package cannot be upgraded due to unresolvable dependencies:
      gcc-fortran

:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (unexpected error)

You're right, i have indeed a dependency problem because of this aur package, acml-gfortran, wich have in it's dependencies gcc-fortran instead of gcc-fortran-multilib

The thing i don't understand is how have i been able to install gcc-fortran with acml-gfortran, without trying to install gcc-libs and discovering the conflict at that time,
and also why the fact that there is a gcc-fortran and gcc-libs update without the corresponding update in the multilib version discover the conflict.

I've commented the aur package, so the maintainer will soon fix the problem, yet i don't understand fully why this conflict have appeared now.

Offline

#6 2014-05-09 12:40:03

clfarron4
Member
From: London, UK
Registered: 2013-06-28
Posts: 2,163
Website

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

Observe that gcc and gcc-libs are at version 4.9.0-2, where gcc-multilib and gcc-libs-multilib are 4.9.0-1 (flagged to be updated to 4.9.0-2).


Claire is fine.
Problems? I have dysgraphia, so clear and concise please.
My public GPG key for package signing
My x86_64 package repository

Offline

#7 2014-05-09 13:25:30

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 388

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

I've seen that, but how could i install gcc-fortran without installing gcc-libs ?

Offline

#8 2014-05-09 13:40:21

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

GloW_on_dub wrote:

I've seen that, but how could i install gcc-fortran without installing gcc-libs ?

Oh, I think I see what you mean. I had the same "pacman update problem" last night but with "gcc-objc" instead of "gcc-fortran". I, too, was kind of surprised I was able to use "gcc-objc" with "gcc-libs-multilib".

I guess they're compatible. tongue

Anyway, I chose to solve the update problem by uninstalling "gcc-objc" and installing "gcc-objc-multilib". No reason not to have multilib, as far as I can tell.

Offline

#9 2014-05-09 14:01:29

GloW_on_dub
Member
Registered: 2013-03-13
Posts: 388

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

Indeed, installing, gcc-fortran-multilib solved the problem, with acml-gfortran complaining at all, so i guess pacman is smart enough to understand that the multilib package contain the non-multilib also.

Offline

#10 2014-05-09 19:23:02

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 277
Website

Re: [SOLVED]gcc-libs and gcc-libs-multilib are in conflict

--ignore gcc


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

Board footer

Powered by FluxBB