Re: How can g++ (stable) be incompatible with a fresh stable install?
On Thursday 08 January 2015 16:30:49 Sven Joachim wrote:
> On 2015-01-08 15:14 +0100, Kynn Jones wrote:
> > I just did an install from debian-7.7.0-amd64-netinst.iso on my laptop.
> >
> > When I attempt to install g++, I get the following
> >
> > # apt-get -y install g++
> > ...
> > Some packages could not be installed. This may mean that you have
> > requested an impossible situation or if you are using the unstable
> > distribution that some required packages have not yet been created
> > or been moved out of Incoming.
> > The following information may help to resolve the situation:
> >
> > The following packages have unmet dependencies:
> > g++ : Depends: g++-4.7 (>= 4.7.2-1~) but it is not going to be
> > installed E: Unable to correct problems, you have held broken packages.
> > [...]
> > 4. The key dependecy chain behind the error shown above goes like this:
> >
> > g++ depends on
> > g++-4.7 (>= 4.7.2-1~) depends on
> > libstdc++6-4.7-dev (= 4.7.2-5) depends on
> > libc6-dev (>= 2.13-5) depends on
> > libc6 (= 2.13-38+deb7u4)
>
> That's the problem, apparently your mirror only has libc6-dev
So soluble by changing the mirror and using another? (That is for my
information.)
Lisi
> 2.13-38+deb7u4, but the current version in wheezy is 2.13-38+deb7u6.
> Since the installation CD already contains libc6 2.13-38+deb7u6 but not
> libc6-dev, there is a version skew.
>
> What does "apt-cache policy libc6 libc6-dev" print?
>
> Cheers,
> Sven
Reply to: