You are not logged in.

#1 2011-12-08 19:48:47

slughappy1
Member
Registered: 2009-03-20
Posts: 75

[Solved] Problem updating with pacman (could not satisfy dependencies)

So I'm trying to update my installation and I'm running into a problem. When I try to update I get the following

$ sudo pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
:: Starting full system upgrade...
warning: e-modules-extra-svn: local (65208-1) is newer than community (64772-1)
resolving dependencies...
warning: dependency cycle detected:
warning: lib32-gcc-libs will be installed before its gcc-libs-multilib dependency
looking for inter-conflicts...
warning: removing 'gcc-libs' from target list because it conflicts with 'gcc-libs-multilib'
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-3
$

So I tried to install gcc-libs and I get this:

$ sudo pacman -S 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)
:: gcc-libs and gcc-libs-multilib are in conflict
$ sudo pacman -S gcc-libs
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-1

Even when I downloaded gcc-libs from the Arch website I get the following:

$ sudo pacman -U gcc-libs-4.6.2-3-x86_64.pkg.tar.xz 
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
$ sudo pacman -U gcc-libs-4.6.2-3-x86_64.pkg.tar.xz 
resolving dependencies...
looking for inter-conflicts...
:: gcc-libs and gcc-libs-multilib are in conflict. Remove gcc-libs-multilib? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-1
$ 

So my question is, how can I fix this?

EDIT: Looks like it was because gcc-libs was compiled wrong on the repos. The developer wonder recompiled them and now everything works perfectly.

Last edited by slughappy1 (2011-12-12 01:22:47)

Offline

#2 2011-12-08 19:51:27

b4data
Member
Registered: 2010-12-14
Posts: 141

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

How long has this been happening? Have you tried a different mirror and a

pacman -Syy

Offline

#3 2011-12-08 19:53:56

slughappy1
Member
Registered: 2009-03-20
Posts: 75

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

b4data wrote:

How long has this been happening? Have you tried a different mirror and a

pacman -Syy

Started yesterday and continues today. I haven't tried a different mirror because I've tried installing the packages (gcc-libs-multilib-4.6.2-2-x86_64.pkg.tar.xz, gcc-libs-4.6.2-3-x86_64.pkg.tar.xz, lib32-gcc-libs-4.6.2-2-x86_64.pkg.tar.xz) with pacman -U and I still get the same error.

Also I have used -Syyu

Last edited by slughappy1 (2011-12-08 19:57:01)

Offline

#4 2011-12-08 19:57:55

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

is a know problem. is taking care right now. patience


Give what you have. To someone, it may be better than you dare to think.

Offline

#5 2011-12-08 20:03:43

slughappy1
Member
Registered: 2009-03-20
Posts: 75

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

wonder wrote:

is a know problem. is taking care right now. patience

Ok. Any reason why it's doing that while I wait?

Offline

#6 2011-12-08 20:09:44

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

because compiling gcc takes time and nobody reported it. good thing that i surf the forums.

this is a perfectly legit bug


Give what you have. To someone, it may be better than you dare to think.

Offline

#7 2011-12-08 20:12:46

slughappy1
Member
Registered: 2009-03-20
Posts: 75

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

wonder wrote:

because compiling gcc takes time and nobody reported it. good thing that i surf the forums.

this is a perfectly legit bug

I figured that I would try the forums before making a bug report that turned up to just waste your ( Arch developers) time. Thanks for your reply and letting me know what the problem is.

Offline

#8 2011-12-08 20:36:29

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

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

wonder is talking about https://bbs.archlinux.org/viewtopic.php?id=131608 thread.

Offline

#9 2011-12-09 03:45:04

wucan
Member
From: China
Registered: 2011-12-09
Posts: 6

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

encounter same problems, waiting ...

Offline

#10 2012-01-29 17:31:44

bakakun
Member
Registered: 2012-01-29
Posts: 1

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

I've found a similar problem too...
In my case, the multilib section in the /etc/pacman.conf, is commented by default after upgrading pacman.

I solve it with uncomment the multilib section in the pacman.conf.

[multilib]
SigLevel = PackageOptional
Include = /etc/pacman.d/mirrorlist

Offline

#11 2012-01-29 20:28:24

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,793

Re: [Solved] Problem updating with pacman (could not satisfy dependencies)

Hi bakakun, welcome to Arch Linux. 
Moderator comment: I think your suggestion may not be directly applicable to this thread.  If this suggestion leads  to further discussion, We may want to split this off to a different thread.  The moderators will keep an eye on it.  If you want to split it off, drop the moderators a note by reporting this thread with a brief note explaining what you want.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

Board footer

Powered by FluxBB