Linux From ScratchThis Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have successfully installed dpkg on my lfs system but cant seem to install apt
I get the below errors
Code:
root [ /sources ]# dpkg -i apt_0.9.7.6_i386.deb
(Reading database ... 1021 files and directories currently installed.)
Preparing to replace apt 0.9.7.6 (using apt_0.9.7.6_i386.deb) ...
Unpacking replacement apt ...
dpkg: dependency problems prevent configuration of apt:
apt depends on libapt-pkg4.12 (>= 0.9.7.6); however:
Package libapt-pkg4.12 is not installed.
apt depends on libc6 (>= 2.4); however:
Package libc6 is not installed.
apt depends on libgcc1 (>= 1:4.1.1); however:
Package libgcc1 is not installed.
apt depends on libstdc++6 (>= 4.6); however:
Package libstdc++6 is not installed.
apt depends on debian-archive-keyring; however:
Package debian-archive-keyring is not installed.
apt depends on gnupg; however:
Package gnupg is not installed.
dpkg: error processing apt (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apt
I tried installing the dependencies but they all seem to depend on each other, I also have gnupg installed But above it shows me that gnupg is not installed.
I have tried severaal versins of apt but I get similar errors.
Is there an up to date guide or instructions somewhere to install apt on an lfs system?
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
Have you tried downloading the source and compiling it, that would solve the stupid apt errors, ( I don't like apt, and don't see the point of compiling LFS and then using a package manager to install binary's ).
Why on earth do say that? If apt is compiled and set up properly and the config is correct it should work just like any other program, if you are going to make such a blanket statement at least give your reasons otherwise you are not really helping!
I dont like/use apt so I don't have an axe to grind anyway.
Have you tried downloading the source and compiling it, that would solve the stupid apt errors, ( I don't like apt, and don't see the point of compiling LFS and then using a package manager to install binary's ).
Yes i tried downloading and installing the package from source still had errors. Im just installing apt so that a really novice user my gf who prefers ubuntu to my lfs system. I want her to prefer using my lfs system than ubuntu which is so simpleand dumbed down for new linux users. I want to make my lfs os into a user friendly os that even novice users can use easily. After apt i want to create some front end gui fot apt like ubuntu software center or something graphical to add remove programs.
I
so i tried installing the apt dependencies mentioned for apt even going back to the really old version of apt mentioned in the hint, to install libc6 I need to install the eglibc package which just doesnt seem to build from source. I get errors again which on googling showed unresolved threads elsewhere. I hope to get this solved at linuxquestions coz i get most solutions here...
Distribution: Void, Linux From Scratch, Slackware64
Posts: 3,150
Rep:
If you are not married to apt why not try a different approach, try using one of the other package managers like yum, but if you are happy to write a front end gui for apt why not just do it from scratch I use my own package manager based on slackware's slackpkg for instance, or then again if you are aiming to REALLY dumb down your installation, should you be letting just anybody install/uninstall stuff? which could totally fubar you install!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.