You are not logged in.
I also needed to install gcc-objc-multilib to sort it out.
Offline
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
You need gcc and its dependencies in either x64 or mulitilib -> Replace gcc with gcc-multilib.
Offline
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
Ok, thanks. Doing
pacman -Rdd gcc-libs-multilib
pacman -S gcc-libs-multilib
did for me the trick!
Thanks and best regards!
Offline
Try pacman -S gcc gcc-libs.
This fixed it for me. Thanks!
Offline
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
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
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
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
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
Offline
@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
Why not just forbid the deps check?
pacman -Sd pacman
Did the trick for me
Offline
Why not just forbid the deps check?
pacman -Sd pacman
Did the trick for me
So you say
pacman -S pacman
didn't work?
Offline
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
Why not just forbid the deps check?
pacman -Sd pacman
Did the trick for me
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
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
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
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
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
What did the trick was:
# pacman -S pacman
Oh Snap!!
Offline
Great!
pacman -S pacman
It work to me.
Thanks.
Offline
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
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