[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: installing dpkg



Thanks Len,

But I just wish to not install Debian on new system (partition) but install 'apt' on existing one.
That way seems to implement new debian on empty system (partition). right?
Anyway, I will try it later.

Best
Inuk



On Thu, Oct 18, 2007 at 11:35:10AM +0900, Inuk You wrote:
I'd like to know
what to install additionally with dpkg packages
in order to use the dpkg (e.g. # dpkg -i xxx.deb) properly.


I installed dpkg to non-debian from source code,
and ran

# dpkg -i xxx_arm.deb

I got the following error:

dpkg: failed to open package info file `/usr/local/var/dpkg/status' for
reading: No such file or directory

There is currently no packaging tool like apt in the system.
I installed dpkg from source codes and it's not debian nor any distro.

CPU : ARM9
Distro : N/A
Installing dpkg_1.13.25.tar.gz from http://packages.debian.org/etch/dpkg

Please advise me, anyone who's ever ported debian to ARM linux.

Well I installed debian on an arm system by running debootstrap on the
other system (a perl script I believe) to generate a new chroot, then I
rebooted the system with that new dir as root and had debian running.

debootstrap takes care of unpacking all the necesary packages and
settings things up.  No point doing all the dpkg commands individually
by hand (which is bound to screw up).  In the end you will have a new
clean root dir that is just debian.  The only thing you have to take
care of is how to install a kernel that will work on your particular
system since that is beyond debootstraps capabilities (every darn arm
system is different after all).

--
Len Sorensen




Reply to: