-----Oprindelig meddelelse----- Fra: lfs-support [mailto:[email protected]] På vegne af Hazel Russman Sendt: 8. august 2015 20:43 Til: lfs support Emne: [lfs-support] Using package managers in LFS
Chapter 6 of the LFS book deals with the use of package managers. I am curious to know how any of the ones described would actually work in the LFS ecosystem. A package manager is a tool for automating updates. It therefore seems to depend on the existence of a repository with the following characteristics: 1) Someone keeps it filled with the latest versions of all the packages, so that the package manager can tell when an update is needed. 2) For a source-based distro, automated build scripts are also available. 3) There is automatic tracking of dependencies. It seems to me that none of these conditions are met by LFS, although I suppose you could use ALFS to fulfil condition 2. I must admit, I haven't been updating much, just using each system as a build host for the next one when a new book comes out, which is probably very bad practice security-wise. What do other people do? -- H Russman -- Hi, I have been playing around with RPM, based on the script done by Baho-Utot. I have a few comments to your points above. First of all, if somebody creates a repository with current updates, it would not be much more than just another distro. If you just want a distro and allways receive the latest updates, you would probably be much better of with one of the numerous distros which are all free for download. But I have had great use of RPM, for other reasons: - You are forced to write a spec file for each package. This involves a little work, but once it is done you have a scripted installation wich is fast and easy to update. - It is a great alternative to the "it's all in my head"-approach wich is mentioned in the same chapter. I don't know about other peoples hed, but mine is definitively too small to keep much more than a basic LFS installation. - You still maintain two great things about LFS: You learn how a linux system works, and all packages are still compiled from source on your own machine. - You get the possibility to uninstall packages you don't need, without thinking about dependencies. In fact, right now I'm doing the final debugging of a script collection which will take you all the way from nothing to a full-fledged KDE Desktop system, with the latest kernel. If you choose to install everything, it takes app. 48 hours to compile, so there will be time for several cups of coffee. If you would like to try it, I'm going to put it on github in a few days for anyone to download. If you want to try Baho-Utots original script you can find it at https://github.com/baho-utot/LFS-RPM. Cheers Niels -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
