hello every,
i am running the development environment 'scratchbox' , which is pretty much an emulated linux environment for developing code for arm.
the environment is based on debian squeeze and so many tools exist as is from debian.
for example apt-get and dpkg.
basically, i'm trying to install gdb by doing
apt-get update
apt-get install gdb
1st problem was with the update - apt-get couldn't find the package list file in
the problem, as i read, was that binary-arm is being fed from dpkg and it is the systems architecture. so debian has binary-armel folder now, not binary arm.
I managed to circumvent that obstacle by running
fakeroot apt-get -o APT::architecture=armel update
so the update completed nicely.
then I tried to install gdb
Quote:
fakeroot apt-get install gdb
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package gdb
|
so i added the arch info again: and things started downloading fine (in jact, it asked me to install quite a few more recent packages and I said yes)
after the packages where downloaded, dpkg halts the execution and says:
Quote:
dpkg: error processing /var/cache/apt/archives/dpkg_1.15.8.12_armel.deb (--unpack):
package architecture (armel) does not match system (arm)
Errors were encountered while processing:
/var/cache/apt/archives/dpkg_1.15.8.12_armel.deb
E: Sub-process dpkg returned an error code (1)
|
so my question is, how can I install the packages?
Thank you for your help