Neil Williams <[email protected]> writes:
> Don't run emsetup under sudo.
Thanks, I don't actually understand why I tried to run it as root.
> $ sudo rm -rf /home/lindi/.apt-cross/
Ok, done.
> $ apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
500 http://www.emdebian.org sid/main Packages
release v=1.1,o=Debian,a=unstable,l=Emdebian-toolchains,c=main
origin www.emdebian.org
500 http://ftp.fi.debian.org sid/main Packages
release o=Debian,a=unstable,l=Debian,c=main
origin ftp.fi.debian.org
Pinned packages:
> $ 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"
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
> $ sudo apt-get update
Hit http://ftp.fi.debian.org sid Release.gpg
Ign http://ftp.fi.debian.org sid/main Translation-en_US
Hit http://ftp.fi.debian.org sid Release
Hit http://ftp.fi.debian.org sid/main Packages/DiffIndex
Hit http://www.emdebian.org unstable Release.gpg
Ign http://www.emdebian.org unstable/main Translation-en_US
Hit http://ftp.fi.debian.org sid/main Sources/DiffIndex
Hit http://www.emdebian.org unstable Release
Ign http://www.emdebian.org unstable/main Packages/DiffIndex
Ign http://www.emdebian.org unstable/main Sources/DiffIndex
Ign http://www.emdebian.org unstable/main Packages
Ign http://www.emdebian.org unstable/main Sources
Hit http://www.emdebian.org unstable/main Packages
Hit http://www.emdebian.org unstable/main Sources
Reading package lists... Done
> $ emsetup --arch armel --verbose -s
Checking for suitable apt sources.
Updating main system apt cache (enter your sudo password if prompted).
Hit http://ftp.fi.debian.org sid Release.gpg
Ign http://ftp.fi.debian.org sid/main Translation-en_US
Hit http://ftp.fi.debian.org sid Release
Hit http://ftp.fi.debian.org sid/main Packages/DiffIndex
Hit http://www.emdebian.org unstable Release.gpg
Ign http://www.emdebian.org unstable/main Translation-en_US
Hit http://ftp.fi.debian.org sid/main Sources/DiffIndex
Hit http://www.emdebian.org unstable Release
Ign http://www.emdebian.org unstable/main Packages/DiffIndex
Ign http://www.emdebian.org unstable/main Sources/DiffIndex
Ign http://www.emdebian.org unstable/main Packages
Ign http://www.emdebian.org unstable/main Sources
Hit http://www.emdebian.org unstable/main Packages
Hit http://www.emdebian.org unstable/main Sources
Reading package lists... Done
Checking apt cache data is up to date ...
Checking unstable on armel using apt sources
Dry run only.
An emdebian toolchain is available to build 'armel' on 'amd64'.
sudo apt-get install binutils-arm-linux-gnueabi
gcc-4.3-arm-linux-gnueabi-base gcc-4.3-arm-linux-gnueabi
cpp-4.3-arm-linux-gnueabi g++-4.3-arm-linux-gnueabi libc6-armel-cross
libc6-dev-armel-cross libstdc++6-armel-cross libstdc++6-4.3-dev-armel-cross
libstdc++6-4.3-pic-armel-cross libgcc1-armel-cross linux-libc-dev-armel-cross
libc6-dev-i386
Thanks a lot! You cam probably close this bug as invalid unless you
think that libemdebian-tools-perl has a bug (if it does, I don't know
how to reproduce it).
However, if I remove the -s flag the build fails:
$ emsetup --arch armel --verbose
Checking for suitable apt sources.
Updating main system apt cache (enter your sudo password if prompted).
Hit http://ftp.fi.debian.org sid Release.gpg
Ign http://ftp.fi.debian.org sid/main Translation-en_US
Hit http://ftp.fi.debian.org sid Release
Hit http://ftp.fi.debian.org sid/main Packages/DiffIndex
Hit http://www.emdebian.org unstable Release.gpg
Ign http://www.emdebian.org unstable/main Translation-en_US
Hit http://ftp.fi.debian.org sid/main Sources/DiffIndex
Hit http://www.emdebian.org unstable Release
Ign http://www.emdebian.org unstable/main Packages/DiffIndex
Ign http://www.emdebian.org unstable/main Sources/DiffIndex
Ign http://www.emdebian.org unstable/main Packages
Ign http://www.emdebian.org unstable/main Sources
Hit http://www.emdebian.org unstable/main Packages
Hit http://www.emdebian.org unstable/main Sources
Reading package lists... Done
Checking apt cache data is up to date ...
Checking unstable on armel using apt sources
Running sudo apt-get install - enter your sudo password if prompted.
Reading package lists... Done
Building dependency tree
Reading state information... Done
binutils-arm-linux-gnueabi is already the newest version.
gcc-4.3-arm-linux-gnueabi-base is already the newest version.
linux-libc-dev-armel-cross is already the newest version.
libc6-dev-i386 is already the newest version.
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.
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]