LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 04-17-2010, 12:35 PM   #1
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Rep: Reputation: 30
user based package management and book 6.6


Hello,

Can I easily follow the book and adapt this package management ?

Roelof
 
Old 04-17-2010, 06:23 PM   #2
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by charlie_lab View Post
Hello,

Can I easily follow the book and adapt this package management ?

Roelof
Short answer, no. You will have to change some of the Makefiles. Read the README of the package-manager.
You will also run into several permission issues, e.g. when starting to build your system you will create some symlinks as root. Those links would be normally automatically removed/replaced during installation, e.g. the bash symlink in /bin. However, if you install as package user, you will be installing as user bash. Therefor you would lack permission to remove this link. You would have to do this manually as root before you install the package.
Also you will have to manually change the groups of certain packages to the install group. Especially the installation of the man pages of the packages will regularly fail.
 
1 members found this post helpful.
Old 04-18-2010, 03:17 AM   #3
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oke

Then I have to rethink the package management.

I like the idea of the fakeroot install but it seems that every package get installed two times.

Roelof
 
Old 04-18-2010, 05:12 AM   #4
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by charlie_lab View Post
Oke

Then I have to rethink the package management.

I like the idea of the fakeroot install but it seems that every package get installed two times.

Roelof
That is correct. Every package-management technique has its pros and cons. If this is your first LFS build I would advise you to skip package managment. Later, after you know how LFS works you can build it again with a package-manager.
 
1 members found this post helpful.
Old 04-18-2010, 08:46 AM   #5
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oke,

Is a 2G enough for the base, X and Full Gnome with the fake root package management ?

Roelof
 
Old 04-18-2010, 09:03 AM   #6
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
Quote:
Originally Posted by charlie_lab View Post
Oke,

Is a 2G enough for the base, X and Full Gnome with the fake root package management ?

Roelof
What do you mean with 2G?
 
1 members found this post helpful.
Old 04-18-2010, 09:13 AM   #7
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hoi,

I mean 2 GB.
Sorry for the confusion.

Roelof
 
Old 04-18-2010, 12:02 PM   #8
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
I see. Well, I can not really answer if 2GB will suffice since I am not familiar with the fake-root approach. But I don't think you have to keep the fake installation. AFAIK it is only temporary and discarded after the real install is done. But you better get confirmation on that by someone who has build his LFS with fake-root package management.
 
Old 04-18-2010, 12:05 PM   #9
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Oke,

I will close this topic and open a new topic for the fake-root approach.

Thanks for the help.

Which way do you use as package management ?

Roelof
 
Old 04-18-2010, 12:11 PM   #10
crts
Senior Member
 
Registered: Jan 2010
Posts: 2,020

Rep: Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757Reputation: 757
I prefer the user based package management. I like the idea of being able to determine which program was installed by which package. Since this technique only grants limited installation permissions to every package nothing gets overwritten without noticing. This was also an important point for my decision.
 
Old 04-18-2010, 12:26 PM   #11
charlie_lab
Member
 
Registered: Nov 2006
Posts: 255

Original Poster
Rep: Reputation: 30
Hello crts,

it was also my first choice but in post 2 you made it clear you get a few problems.
And you have to change some Makefiles. Because Im not familiar with this I decided against it.

Roelof
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
PackageUser based package management na5m Linux From Scratch 14 03-26-2007 06:11 PM
User Based Package Management System Chowroc Linux From Scratch 2 03-16-2007 04:30 PM
New Xubuntu User - general package management query erraticassassin Ubuntu 1 03-16-2007 12:10 PM
Quest for responsive and user-friendly package management OS aspinnler Linux - Distributions 6 03-04-2006 02:33 PM

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

All times are GMT -5. The time now is 06:27 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