[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problems with gcc



On Wed, Jul 16, 2008 at 05:29:20PM +0200, E. Rens wrote:
> On Wed, 16 Jul 2008 10:48:42 -0400, "Lennart Sorensen"
> <lsorense@csclub.uwaterloo.ca> said:
> 
> > Try 'apt-get -f install' that will try to get the packages into a sane
> > state again.
> 
> # aget -f install
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> 
> > 
> > Not sure what you did but you manged to install libgcc1 that requries
> > gcc 4.3 but not have gcc-4.3-base installed.  So the answer is either
> > install gcc-4.3-base or go back to an older libgcc1 that you do have the
> > requirements for.
> 
> I first installed etch when I installed the whole system and then
> upgraded to lenny.
> gcc-4.3-base is installed, but I can't remove it, because of libgcc1:
> 
> ...
> The following packages have unmet dependencies:
>   libgcc1: Depends: gcc-4.3-base (= 4.3.1-2) but it is not going to be
>   installed
> E: Broken packages
> 
> > Be very careful since removing libgcc1 will likely make your system
> > unusable so don't do that.  Either install an older version (apt-get
> > install libgcc1=someversionnumber), or install the required gcc-4.3-base
> > package.
>  
> > 'apt-cache show libgcc1 |grep Version' can get you a list of what
> > versions you have to choose between.
> 
> # apt-cache show gcc |grep Version
> Version: 4:4.3.1-1
> 
> # apt-cache show libgcc1 |grep Version
> Version: 1:4.3.1-2
> 
> it seems libgcc1 4.3.1-2 doesn't like gcc-base 4.3.1-1, but there is no
> way to have these version numbers match.

Do apt-get update.

According to packages.debian.org/gcc-3.4-base the current version in
lenny is in fact 4.3.1-2 so if you don't see that either you are using a
bad mirror, or you didn't run apt-get update recently.

gcc is not gcc-4.3-base.

-- 
Len Sorensen


Reply to: