I'm trying to add apt-get
package manager to LFS (LINUX FROM SCRATCH) system. I have found a solution explaining how to 'compile apt-get and dpkg' for LFS. But it's very old and unusable. I searched for apt-get
source code and found it on debian.org. It is Debian version of apt
. I have downloaded apt-0.8.10.3.deb
package and extracted its contents to the root directory of LFS. When my LFS system boots up and I type apt-get
, this error is shown:
E: Unable to determine a suitable packaging system type.
- How can I add
apt-get
to LFS and get it working? - What does the above error mean?
Best Answer
Can you reverse everything you did and try the Use dpkg (.deb) package management on LFS 6.3., which is newer (but not by much):
dpkg
andapt
. An example of which is /etc/apt.conf.If that doesn't work, you could try the RPM Hint from our friends at Redhat. I've bookmarked both hints, and I'll try them in a Virtualbox VM, and report back here (This will take awhile). In the meantime, have a look at Gentoo, which is basically LFS + a package manager (portage)
Update
I'm using a Fedora Core 22 Virtualbox VM to build LFS as another VM disk. I'll provide more precise steps after the build completes.