Re: Problems with gcc
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.
> --
> Len Sorensen
>
You can see a little output of my program at
http://rafb.net/p/izqIhT10.html where the correct is mixed with unwanted
verbose. Many thanks,
Emmanuel
Reply to: