You are not logged in.

#1 2011-01-27 14:35:27

cani
Member
Registered: 2010-02-02
Posts: 5

[solved] gcc version error during update

I'm trying to do a full system upgrade but whenever I start it I get the below error ":: gcc-gcj: requires gcc=4.5.1" although it appears I have gcc version 4.5.1 any ideas on what might be causing this?

oli / $ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
archlinuxfr is up to date
:: Starting full system upgrade...
:: Replace pycairo with extra/python2-cairo? [Y/n]
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-gcj: requires gcc=4.5.1

oli / $ gcc --version
gcc (GCC) 4.5.1
Copyright (C) 2010 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.

Last edited by cani (2011-01-27 16:24:39)

Offline

#2 2011-01-27 14:42:30

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [solved] gcc version error during update

Remember where you got gcc-gcj from?

That's your problem. Not GCC. Check your error again, and read where it says

:: gcc-gcj: requires gcc=4.5.1

There's little point in checking the gcc version prior to the upgrade. You're querying the installed gcc, and that will always be the version gcc-gcj needs. The whole upgrade, in fact, chokes because the new gcc will not be 4.5.1 anymore.

Please use code tags for output of commands run in a terminal.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#3 2011-01-27 16:23:59

cani
Member
Registered: 2010-02-02
Posts: 5

Re: [solved] gcc version error during update

Ah I get it thanks for that! I removed gcc-gcj and pdftk which depended upon it then ran the upgrade.  I think gcc-gcj must have come from the repos as I don't remember installing it from anywhere else although this machine has been around for a while oh and sorry about the code tags.

Thanks again

Offline

Board footer

Powered by FluxBB