LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 01-18-2012, 06:42 PM   #1
Sam Hawkens
LQ Newbie
 
Registered: Dec 2010
Posts: 12

Rep: Reputation: 0
Which packages necessary for common installation procedures aren't self-contained?


Hello community,

I am working on a package management system following the user-based approach with simple dependency handling. Regarding this each package can contain executables/steps (scripts, binaries, ...) named:

prepare
configure
make
preinstall
install
postinstall
preremove
remove
postremove

If updating a package, first new-package's prepare, configure, and make will be called. Second old-package will be removed and third new-package will be installed. Hopefully the names are self-explanatory.

This approach won't work, if some packages necessary for installation aren't self-contained - make and coreutils leap in mind. In my opinion at least the install processes of these packages have to be self-contained. Correct me if I'm wrong.

As the title implies, this is my questions:

Which packages necessary for common installation procedures aren't self-contained regarding their install process?

I hope my question is understandable, because setting commas isn't one of my best skills (and differs from German grammar a lot).
 
Old 01-22-2012, 04:21 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653Reputation: 653
If this is purely for educational reasons then go right ahead, otherwise you should study existing package managers like rpm/yum and apt - there's no point reinventing the wheel unless you can make a better wheel.

If you read the LFS guide you'll gain a good understanding of the interdependencies between utilities, LFS has no package manager during installation so everything has to be installed in the correct order.
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If all applications came in their separate self-contained packages chessonly General 10 05-20-2009 10:27 PM
how to purge a set of packages contained in a file? kpachopoulos Debian 4 02-11-2007 03:40 PM
Download, extract, and installation procedures MarcusG Slackware 4 02-01-2005 02:54 PM
Why aren't common commands working? NewTuxGirl Linux - Newbie 8 06-07-2004 10:42 AM
Qt and installation procedures? Infamous Tim Linux - Software 4 04-21-2002 02:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration