You are not logged in.

#1 2012-02-14 03:17:01

ameyjah
Member
Registered: 2011-12-19
Posts: 12

[Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6

Hi,

I am getting inter-dependency error while upgrading. Could you please tell me how to solve the problem.

[xyz@myhost ~]$ sudo pacman -Syu
Password: 
:: Synchronizing package databases...
 core                     106.0 KiB  55.2K/s 00:02 [######################] 100%
 extra                   1282.4 KiB  61.0K/s 00:21 [######################] 100%
 community               1100.4 KiB  63.9K/s 00:17 [######################] 100%
:: 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-6
[xyz@myhost ~]$ sudo pacman -S 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-6

Last edited by ameyjah (2012-02-20 17:11:40)

Offline

#2 2012-02-14 03:17:56

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6

Please search before posting: this is in quite a few threads already...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2012-02-14 06:31:40

chico
Member
From: Sweden
Registered: 2011-03-06
Posts: 16
Website

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6

jasonwryan wrote:

Please search before posting: this is in quite a few threads already...

Hi jasonwryan!
Of course you are right, it's always best to search before asking.
However i also think that when posting an answer that recommends searching it should also contain links to the threads where the question is handeled.
This post was the first one i foung when searching for the string "error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-6" in Google, posting links to the theads you mentioned would me most helpful.
Thanks

Offline

#4 2012-02-14 06:48:59

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#5 2012-02-14 06:50:32

Gcool
Member
Registered: 2011-08-16
Posts: 1,456

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6


Burninate!

Offline

#6 2012-02-14 06:58:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6

chico wrote:
jasonwryan wrote:

Please search before posting: this is in quite a few threads already...

Hi jasonwryan!
Of course you are right, it's always best to search before asking.
However i also think that when posting an answer that recommends searching it should also contain links to the threads where the question is handeled.

That would just encourage more help vampirism... Once an issue like this has come up two or three times, my view is any subsequent duplicate threads should be closed and deleted.

Arch is clearly branded as a distro for people who are either competent or demonstrate a wilingness to help themselves. Spoonfeeding is in no-one's interests.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2012-02-14 17:49:27

ameyjah
Member
Registered: 2011-12-19
Posts: 12

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6

Thanks. Will keep in mind from next time.

Offline

#8 2012-02-14 17:56:34

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

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6

Offline

#9 2012-02-15 16:26:03

stfn
Member
Registered: 2010-02-28
Posts: 32

Re: [Solved] Not able to upgrade - gcc: requires gcc-libs=4.6.2-6

chico wrote:
jasonwryan wrote:

Please search before posting: this is in quite a few threads already...

Hi jasonwryan!
Of course you are right, it's always best to search before asking.
However i also think that when posting an answer that recommends searching it should also contain links to the threads where the question is handeled.
This post was the first one i foung when searching for the string "error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-6" in Google, posting links to the theads you mentioned would me most helpful.
Thanks

That's how I just got here too. Upgrading pacman alone with a simple `pacman -Sy pacman' fixed the issue for me.

Offline

Board footer

Powered by FluxBB