Re: Bug#789430: gcc-4.9-arm-linux-gnueabihf can't be installed; depends on libgcc-4.9-dev:armhf (= 4.9.2-18) but 4.9.2-21 will be installed

Wookey <[email protected]>
Newsgroups gmane.linux.debian.devel.toolchain
Organization Wookware
Message-ID <[email protected]>
+++ rastersoft [2015-06-23 00:07 +0200]:
> Hi:
> 
> > Yes, the gcc packages got out of date and were not rebuildable (on
> > amd64) for a while due to 787004.
> >
> > That's fixed now so I've just uploaded current packages.
> 
> I did an update and install, but still fails... and I changed my
> repositories to the main debian repos... :?

Hmm. you are right that something is up. It is is installable but apt
won't 'just install it'.

This sequence of commands worked for me (there is no doubt a shorter
one that would work):

dpkg --add-architecture armhf
apt-get update
apt-get install gcc-5-base:armhf
apt-get install libgcc1:armhf libc6-dev:armhf
apt-get install libgcc-4.9-dev:armhf
apt-get install libgomp1:armhf libatomic1:armhf libasan1:armhf
libubsan0:armhf libstdc++6:armhf
apt-get install gcc-4.9-arm-linux-gnueabihf

Needs some investigation as to why apt can't work that out itself. 

Wookey
-- 
Principal hats:  Linaro, Debian, Wookware, ARM
http://wookware.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.