LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 7.9 Systemd package management (https://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-7-9-systemd-package-management-4175577133/)

SnowyClaw 04-10-2016 06:18 PM

LFS 7.9 Systemd package management
 
Hi, all. I'm having a bit of issues getting a package manager to work in LFS. I'm just before you completely install the package, linux, to the system. (Chapter 6) I've tried pacman, apt, and trip, and all the hints seem to fail in one way or another. Can anybody point me in the right direction? Thank you.

ReaperX7 04-11-2016 02:41 AM

Try pkgtools from Slackware. The only required dependency is tar-1.13 and dialog if desired.

SnowyClaw 04-11-2016 06:56 AM

Thanks a bunch. c: I'll get back to you with details.

ReaperX7 04-11-2016 07:32 AM

Best of luck. If you need a tip on getting tar-1.13 inserted without damaging the current tar version, just find the tar binary in the source after building it and copy-paste it as tar-1.13 into your /usr/bin directory.

You shouldn't need dialog if you don't use the actual pkgtool script.

A hint on installing it is located on the CLFS page under the CBLFS Wiki.

SnowyClaw 04-11-2016 08:08 AM

Thanks. c: I'm running into a bit of an issue, though. Pkgtool cannot find gunzip or xz. I've tried reinstalling them and such, but it says it isn't in the path.

Path is currently:
/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin

Any ideas? :3

EDIT: Got which installed, and now it works! Thanks for the help! ^^

ReaperX7 04-11-2016 10:41 AM

I forgot which is required. Lol


All times are GMT -5. The time now is 04:53 AM.