You are not logged in.

#1 2011-10-30 11:21:21

dabd
Member
Registered: 2008-11-17
Posts: 109

Upgrade fails because of gcc-gcj

Full system upgrade fails because the following dependency cannot be satisfied.
:: gcc-gcj: requires gcc=4.6.1

Any solution?

ty

Offline

#2 2011-10-30 11:35:38

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Upgrade fails because of gcc-gcj

Wait for gcc-gjc AUR maintainer to update it or do it yourself.

Offline

#3 2011-10-31 14:03:55

miguelroboso
Member
Registered: 2011-02-03
Posts: 17

Re: Upgrade fails because of gcc-gcj

same here: how can I update by myself?

Offline

#4 2011-11-01 00:49:48

KingX
Member
From: CA
Registered: 2010-03-24
Posts: 324

Re: Upgrade fails because of gcc-gcj

Download the PKGBUILD and change 'depends' to the following

depends=('gcc=4.6.2' 'gtk2' 'file' 'zip' 'libsm' 'libxtst' 'alsa-lib' 'gcc-gcj-ecj'
         'libart-lgpl')

Change the gcc= to the version of gcc you have. You can follow the package here and get the updated pkgbuild posted by arriagga.

Offline

#5 2011-11-01 14:14:52

miguelroboso
Member
Registered: 2011-02-03
Posts: 17

Re: Upgrade fails because of gcc-gcj

the package build posted by ariagga doesn't work, it stops saying that

error: failed to prepare transaction (could not satisfy dependencies)
:: gcc-fortran: requires gcc=4.6.1-4
:: gcc-gcj: requires gcc=4.6.1
:: libtool: requires gcc=4.6.1

What am I missing? (even conceptually, I mean)

Offline

#6 2011-11-01 19:23:01

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,873

Re: Upgrade fails because of gcc-gcj

gcc-fortran and libtool are official packages which were updated to 4.6.2 on okt 30 ..

Maybe the mirror you use is not updated yet,  check http://www.archlinux.org/mirrors/status/ .


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#7 2011-11-01 20:56:32

miguelroboso
Member
Registered: 2011-02-03
Posts: 17

Re: Upgrade fails because of gcc-gcj

(sigh)

I am still stuck;
if I try to update (via pacman) either libtool/gcc-fortran I get that they cannot be updated because gcc-fortran/libtool and gcc-gcj need gcc 4.6.1
if I try to update (via yaourt) gcc-gcj it says that libtool AND gcc-fortran require gcc 4.6.1 (even though gcc-gcj is up to date)

My mirror says that gcc-fortran is at the version 4.6.2-1 and libtool at 2.4.2

My mirror is up to date

Basically I am stuck in a loop.

A solution would be to uninstall gcc-gcj and reinstall it, but pdftk depends on it, and last time I installed it it took something like two hours to complete, I would like to avoid that

Any suggestion?

(edit: thanks for the help!)

Last edited by miguelroboso (2011-11-01 20:56:51)

Offline

#8 2011-11-02 16:58:24

Kooothor
Member
From: Paname
Registered: 2008-08-02
Posts: 228

Re: Upgrade fails because of gcc-gcj

Same problem here... hmm
*bookmarking the thread*


ktr

Offline

#9 2011-11-02 18:31:26

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 14,873

Re: Upgrade fails because of gcc-gcj

you can try the following :

# yaourt -Rdd gcc-gcj

# pacman -Syu

#yaourt -S gcc-gcj

Idea is to remove gcc-gcj , without removing pdftk , then upgrade everything and re-install gcc-gcj .

The -Rdd option is  a pacman option that tells pacman to skip all dependency checks, i hope yaourt supports it.
(i never use an aur helper,  all aur packages i use are build with makepkg, then put in a local repository).

Last edited by Lone_Wolf (2011-11-02 18:32:10)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#10 2011-11-02 19:28:35

Kooothor
Member
From: Paname
Registered: 2008-08-02
Posts: 228

Re: Upgrade fails because of gcc-gcj

Thank you Lone_Wolf, this worked fine \o/


ktr

Offline

Board footer

Powered by FluxBB