You are not logged in.

#1 2012-05-02 22:31:13

Radikll
Member
Registered: 2012-01-21
Posts: 2

can't upgrade gcc cause gcc isn't upgraded? (I think)

[radikll@lappy ~]$ sudo pacman -Suy
Password: 
:: Synchronizing package databases...
 core                     102.4 KiB   319K/s 00:00 [######################] 100%
 extra                   1390.9 KiB   178K/s 00:08 [######################] 100%
 community               1676.9 KiB   489K/s 00:03 [######################] 100%
 multilib                  86.5 KiB   277K/s 00:00 [######################] 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...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
:: gnupg and gnupg2 are in conflict. Remove gnupg2? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.6.2-7
[radikll@lappy ~]$ 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] n

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

resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-ada: requires gcc=4.6.2-7
:: gcc-fortran: requires gcc=4.6.2-7
:: gcc-gcj: requires gcc=4.6.2
:: gcc-go: requires gcc=4.6.2-7
:: gcc-objc: requires gcc=4.6.2-7
:: libtool: requires gcc=4.6.2
[radikll@lappy ~]$ gcc --version
gcc (GCC) 4.6.2 20120120 (prerelease)
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

[radikll@lappy ~]$ pacman -Ss gcc
core/gcc 4.7.0-5 (base-devel) [installed: 4.6.2-7]
    The GNU Compiler Collection - C and C++ frontends
....

I just don't know what to do here. It looks like I should be able to upgrade but... that's not what my computer thinks hmm

Any ideas?

Offline

#2 2012-05-02 22:37:22

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,672
Website

Re: can't upgrade gcc cause gcc isn't upgraded? (I think)

There are many, many, many posts about this already.  A forum search should have helped...

"pacman -Syu" and select "N" to updating pacman first.

Offline

Board footer

Powered by FluxBB