LFS and apt
support at cslimits.net
Thu Sep 6 11:58:11 PDT 2007
While there's no reason you can't use them on other distributions, keep in
mind that apt and dpkg are very Debian-centric. That said, do you have a
Debian system you can use for reference?
I think your problem stems from not having one of the configuration files
for apt set up correctly; in /etc/apt, you need a "sources.list" file, and
will probably want an apt.conf file at a bare minimum - apt uses those two
files (plus "preferences" plus "equivs" if they exist) to determine what
version of what package to do what with on any given system. It uses a
fairly complex set of rules & algorithm for doing that.
You might want to check out the "Apt HOWTO":
These may be of thelp to you as well:
Once you understand how "apt" works, how dpkg works should make a little
more sense (or vice-versa). They're *not* the same as a package manager
such as "RPM", and about all trying to use them the same way got me was more
grey hair. I know there are versions of apt around for distributions other
than Debian; about all I know, though, is that they exist.
Hope that helps.
Peter Haack writes:
> 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).
> I installed by reading the followed:
> 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:
> Has someone a hint for me?
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
More information about the lfs-support