You are not logged in.

#26 2012-01-18 20:15:20

Anntoin
Member
Registered: 2009-08-10
Posts: 42
Website

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

I also needed to install gcc-objc-multilib to sort it out.

Offline

#27 2012-01-18 21:39:39

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Mmmh... have the same problem. No thing in this thread works. What should I do? Here is the output:

: Synchronisiere Paketdatenbanken...
 core ist aktuell
 extra ist aktuell
 community ist aktuell
 multilib ist aktuell
:: Starte komplette Systemaktualisierung...
Löse Abhängigkeiten auf...
Warnung: Abhängigkeits-Zyklus entdeckt:
Warnung: lib32-gcc-libs wird vor seiner Abhängigkeit gcc-libs-multilib installiert werden
Suche nach Zwischenkonflikten...
Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen)
:: gcc: benötigt gcc-libs=4.6.2-5

Best regards!

Offline

#28 2012-01-19 00:28:39

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

You need gcc and its dependencies in either x64 or mulitilib -> Replace gcc with gcc-multilib.

Offline

#29 2012-01-19 06:53:37

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

I solved this by doing the following:

pacman -Rdd gcc-multilib gcc-libs-multilib
pacman -S gcc-multilib gcc-libs-multilib

When I re-installed them with the second command, it added the dependency lib32-gcc-libs.  So it appears there was an issue regarding that not being installed as a dependency.

Offline

#30 2012-01-19 08:37:15

Lothium
Member
Registered: 2009-10-10
Posts: 192

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Ok, thanks. Doing

pacman -Rdd gcc-libs-multilib
pacman -S gcc-libs-multilib

did for me the trick!

Thanks and best regards!

Offline

#31 2012-01-19 18:58:44

saikobee
Member
From: Oregon
Registered: 2008-05-30
Posts: 6
Website

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

gentoofu wrote:

Try pacman -S gcc gcc-libs.

This fixed it for me. Thanks!

Offline

#32 2012-01-19 20:56:41

rado3105
Member
Registered: 2011-10-09
Posts: 103

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Nothing worked for me:

[r-c@r-c-laptop ~]$ sudo pacman -Rdd gcc-multilib gcc-libs-multilib
error: 'gcc-multilib': target not found
[r-c@r-c-laptop ~]$ sudo pacman -S gcc-multilib gcc-libs-multilib
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-1
[r-c@r-c-laptop ~]$ sudo pacman -S gcc gcc-libs
:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-1

Offline

#33 2012-01-19 21:53:32

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Instead of copy & pasting commands from the forums, try to understand whats going on, and do read what is printed on the screen!

:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y

By answering yes, you cancel the current operation and install pacman, aka pacman -S pacman.

Do you actually use multilib? Can you post what gcc packages you have installed (query local database and search for gcc, post with code tags please).

Offline

#34 2012-01-19 22:29:56

CheesyBeef
Member
Registered: 2008-06-04
Posts: 190

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

I actually found out that the above series of commands I issued did not solve the problem - they only allowed me to update my system.  I still receive the line:

missing dependency for gcc-objc : gcc=4.6.2-5

whenever I run pacman.  Here are my gcc packages:

$ pacman -Qs gcc
local/gcc-libs-multilib 4.6.2-5.1
    Runtime libraries shipped by GCC for multilib
local/gcc-multilib 4.6.2-5.1 (multilib-devel)
    The GNU Compiler Collection - C and C++ frontends for multilib
local/gcc-objc 4.6.2-5
    Objective-C front-end for GCC
local/lib32-gcc-libs 4.6.2-5.1
    Runtime libraries shipped by GCC (32-bit)

Do I need to replace gcc-objc with gcc-objc-multilib? I guess I'm unaware of the differences between these.

Edit: Installed gcc-objc-multilib, replacing gcc-objc, and the message has appeared to have gone away.

Last edited by CheesyBeef (2012-01-19 22:58:54)

Offline

#35 2012-01-20 01:59:01

temp1
Member
Registered: 2010-08-23
Posts: 4

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

hokasch wrote:

You need gcc and its dependencies in either x64 or mulitilib -> Replace gcc with gcc-multilib.

Thanks for pointing this out. I had no idea that gcc-multilib existed or was the correct version of gcc for multilib installations. Installing gcc-multilib fixed an issue I had similiar to https://bugs.archlinux.org/task/27986

Offline

#36 2012-01-22 14:04:11

jceasless
Member
Registered: 2009-04-20
Posts: 73

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Fortunately the uninstall/reinstall of gcc-multilib and gcc-libs-multilib went without a hitch. This resolved the 'lib32-gcc-libs will install first' issue.

Unfortunately I still cannot do a system upgrade, as pacman complains that gcc-libs conflicts with gcc-libs-multilib. Unfortunately it does not list which applications are requiring gcc-libs, nor does it make any sense, as gcc-libs-multilib provides gcc-libs.

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)

The [SOLVED] should really be removed from this thread, as issues are apparently persisting.

Last edited by jceasless (2012-01-22 14:04:50)

Offline

#37 2012-01-22 14:16:52

the.ridikulus.rat
Member
From: Indiana, USA
Registered: 2011-10-04
Posts: 765

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Offline

#38 2012-01-22 14:57:55

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

@jceasless,
can you post the full output including the list of packages to be updated?

This thread originally related to a bug which was fixed last month. The problems it was revived with are actually different ones (like having to install gcc-fortran-multilibs).

Offline

#39 2012-02-15 00:44:47

Vladimiroff
Member
From: Sofia, Bulgaria
Registered: 2009-02-15
Posts: 21

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Why not just forbid the deps check?

pacman -Sd pacman

Did the trick for me wink

Offline

#40 2012-02-15 00:58:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Vladimiroff wrote:

Why not just forbid the deps check?

pacman -Sd pacman

Did the trick for me wink

So you say

pacman -S pacman

didn't work?

Offline

#41 2012-02-15 17:37:43

rck
Member
Registered: 2011-01-06
Posts: 4

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

for me a combination of what emphire and Lothium wrote did the trick:

pacman -Rdd gcc-multilib gcc-libs-multilib
pacman -Su
# I want my multilib gcc back
pacman -S gcc-multilib
:: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] y

Offline

#42 2012-02-15 19:37:57

ewtoombs
Member
Registered: 2009-07-23
Posts: 28

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Vladimiroff wrote:

Why not just forbid the deps check?

pacman -Sd pacman

Did the trick for me wink

The fact that you had to do that, to me, tells me it is still broken. I got the same error message as jceasless. Also of interest is gcc-libs-multilib's pacman summary:

$ pacman -Qi gcc-libs-multilib
Name           : gcc-libs-multilib
Version        : 4.6.2-7
URL            : http://gcc.gnu.org
Licenses       : GPL  LGPL  FDL  custom
Groups         : None
Provides       : gcc-libs=4.6.2-7
Depends On     : glibc>=2.14  lib32-gcc-libs=4.6.2-7
Optional Deps  : None
Required By    : aspell  blas  boost-libs  db  djvulibre  gcc-multilib  gettext
                 gmp  gnutls  gperf  graphite  groff  hunspell  icu
                 lib32-gcc-libs  libcdio  libftdi  libmp4v2  libproxy
                 libreoffice-common
                 libreoffice-extension-presentation-minimizer  libsidplay
                 libstdc++5  libvdpau  libwpd  mesa  octave  opencore-amr
                 openjdk6  p7zip  pcre  poppler  schroedinger  taglib  unrar
                 v4l-utils
Conflicts With : gcc-libs
Replaces       : None
Installed Size : 2940.00 KiB
Packager       : Allan McRae <allan@archlinux.org>
Architecture   : x86_64
Build Date     : 2012-02-03T18:23:41 EST
Install Date   : 2012-02-15T00:36:57 EST
Install Reason : Installed as a dependency for another package
Install Script : Yes
Description    : Runtime libraries shipped by GCC for multilib

Note the "provides" line. Pacman shouldn't be complaining about  gcc-libs at all, since it is provided by gcc-libs-multilib. This sounds like a problem in pacman itself.

Offline

#43 2012-02-16 10:33:28

tolmun
Member
Registered: 2011-12-04
Posts: 8

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

hokasch wrote:

Instead of copy & pasting commands from the forums, try to understand whats going on, and do read what is printed on the screen!
By answering yes, you cancel the current operation and install pacman, aka pacman -S pacman.

This is the upgrade issue on 64bit Arch:

:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y

resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] 
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: gcc-libs and gcc-libs-multilib are in conflict

Solved by:

pacman -S pacman

Offline

#44 2012-02-16 10:45:35

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,543

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Or you could just answer n to

:: The following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] Y

Online

#45 2012-02-17 04:58:18

ewtoombs
Member
Registered: 2009-07-23
Posts: 28

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Getting rid of gcc-libs-multilib, installing pacman, then reinstalling gcc-libs-multilib worked for me, but it shouldn't have been necessary, since gcc-libs-multilib provides gcc-libs. In my eyes, this still translates to a problem with pacman. If this is the correct behaviour, then you have some explaining to do, because it makes no sense to me.

Offline

#46 2012-02-17 19:16:53

ulukai
Member
Registered: 2009-10-16
Posts: 82

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

I had the same issue.

pacman -S pacman

and then a normal system update solved it for me as well, but it still doesn't make any sense...

Offline

#47 2012-02-19 19:45:20

NeekO
Member
Registered: 2007-10-28
Posts: 32

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

What did the trick was:

# pacman -S pacman

Oh Snap!!

Offline

#48 2012-02-24 13:28:23

hlx70375
Member
Registered: 2012-02-24
Posts: 3

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

Great!
pacman -S pacman
It work to me.
Thanks.

Offline

#49 2012-03-04 07:06:52

t1nk3r3r
Member
From: The Pacific Northwest
Registered: 2011-03-22
Posts: 79

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

pacman -S pacman

Worked for me, although I did also clean the cache and check pacman.conf to find I hadn't properly uncommented [multilib].


--------------------------The only wasted day is one in which you learn nothing.--------------------------

Offline

#50 2012-04-11 09:10:46

letroll
Member
Registered: 2009-02-24
Posts: 3

Re: [SOLVED] Unable to Update due to gcc-libs-multilib and gcc

rck wrote:

for me a combination of what emphire and Lothium wrote did the trick:

pacman -Rdd gcc-multilib gcc-libs-multilib
pacman -Su
# I want my multilib gcc back
pacman -S gcc-multilib
:: gcc-libs-multilib and gcc-libs are in conflict. Remove gcc-libs? [y/N] y

The best solution for me thank you

Offline

Board footer

Powered by FluxBB