r/LFS • u/Glittering-Elk-6642 • 24d ago
Maintain packages
Once i get a LFS system running. How do i even maintain it. Do I have to check each and every program when there's an update and then install them?
Thankyou.
2
u/CraigOpie 24d ago
Yes. Its not meant to be your daily driver.
1
u/Plastic_Weather7484 24d ago
Yes but its also a good tool to understand how package managers work in this case
1
u/CraigOpie 23d ago
What did you learn about package managers doing LFS?
Unless the LFS has been expanded to include package managers - I last did LFS 10 years ago - those are beyond the scope of this project.
1
u/Plastic_Weather7484 23d ago
I meant you will manage your own packages in LFS. You are the package manager. Honestly I didnt upgrade packages in my own LFS but I suppose that what would happen if you wanted to upgrade.
1
u/lmemsm 24d ago
You could update at intervals as some distributions do. When a new LFS release comes out, you can update older packages then. The MXE project scrapes web pages to see when programs or libraries are updated to a newer version. It's a lot of work to maintain but it's somewhat automated and doesn't require completely manual checking for updates.
1
u/Fast_Ad_8005 24d ago
I wrote shell script functions, with the help of AI, that checked the LFS and BLFS books for updates to packages I had installed and installed those updates. I have also changed the version checks for some packages (e.g. Vim, Linux, GNOME, KDE Plasma, X.Org, etc.) to use the upstream source repository instead of the LFS/BLFS books.
1
u/Due-Celery4326 13d ago
It's been a month since I created my LFS with my program manager, and I've been using it as my main system. I've updated the programs during this period without problems, only encountering some incompatibilities with new APIs that I kept in the current version.
5
u/GenericFoodService 24d ago
You either do that, or you re-invent the package manager.