retitle 532400 document how to replace a missing toolchain apt source
tag 532400 + pending
tag 532400 - moreinfo
thanks

On Tue, 09 Jun 2009 13:17:45 +0300
Timo Juhani Lindfors <timo.lindf...@iki.fi> wrote:

> Neil Williams <codeh...@debian.org> writes:
> > Don't run emsetup under sudo.
> 
> Thanks, I don't actually understand why I tried to run it as root.

I've added a note to the emsetup manpage.

> > $ sudo dpkg-reconfigure -phigh libemdebian-tools-perl
> 
> I think this is the cause of my original problem as dpkg-reconfigure
> prints
> 
> "Not replacing deleted config file 
> /etc/apt/sources.list.d/emdebian.sources.list"

So why was the file deleted? debconf doesn't use the phrase "deleted"
if the package was merely purged. 
 
> I now manually added the following to
> /etc/apt/sources.list.d/emdebian.sources.list:
> 
> # The Emdebian toolchain repository
> deb http://www.emdebian.org/debian/ unstable main
> deb-src http://www.emdebian.org/debian/ unstable main

When the next version of libemdebian-tools-perl is installed, dpkg will
give you a prompt to replace this file with the maintainer version.

> However, if I remove the -s flag the build fails:
> 
> $ emsetup --arch armel --verbose
> Checking for suitable apt sources.
> 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:
>   libgcc1-armel-cross: Depends: gcc-4.4-base-armel-cross (= 4.4.0-5) but it 
> is not installable
> E: Broken packages
> 
> I reported this as a separate bug report.

This is not a bug in emdebian-tools. You can work around it by
building libgcc1-armel-cross using apt-cross and dpkg-cross:

$ apt-cross -f -a armel -i libgcc1

Hector - can you check the versioning of libgcc1-armel-cross in the
unstable armel toolchain - looks like that one is out of sync too.
Or maybe just add gcc-4.4-base-armel-cross?

The real bug here is that gcc-*-base is Arch: any instead of Arch: all.

-- 


Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpInyHox5g5e.pgp
Description: PGP signature

Reply via email to