LFS and apt

Peter Haack peterhaack01 at yahoo.de
Thu Sep 6 08:00:17 PDT 2007


Hi, there!
First of all, I want you to excuse my bad english. ;)
And second, I have a question:
I installed apt and dpkg on LFS (ALFS).

Versions:
apt:0.7.6
dpgk:1.14.5
Kernel:linux-2.6.16.38

I installed by reading the followed:

http://www.linuxfromscratch.org/hints/downloads/files/apt.txt

Thats quite old, but I found no other.

It runs, but when I try to install packages, i get the following messages:

(with apt)

"package architecture (i386) does not match system"

My architecture is i686. I thought i386 is compatible to i686?

Ok, try it the hard way:

"dpkg -i <package> --force-architecture"

then I receive:

"cannot access archive: No such file or directory"

What the heck? I dont know whats missing here. I have the following 
directories for dpkg to search in:

/var/cache/apt/archives/partial
/var/state/apt/lists/partial

Has someone a hint for me?




More information about the lfs-support mailing list