LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-21-2008, 09:28 PM   #1
startoftext
LQ Newbie
 
Registered: Dec 2008
Posts: 12

Rep: Reputation: 0
Question Single Package User instead of Package UserS


I have read the guide on Package Users but I had a different thought and wanted to see what other peoples opinions were. I am not trying to suggest that there is anything wrong with package users and I do not want to get into a debate about that. I have also spent a good deal of time looking at various ways to manage packages installed from source but I have not come across any that suggest doing what I propose here so I fear there must be something wrong with trying to do this.

So instead of using a different user to install each package why not install a package using some user X and then after the package is installed search for all files owned by user X and make a list. Then change all of those files owned by user X to root. You can then keep the list and use it to remove the package at a later date.

What kinda gotchas might I run into with this plan? What's your opinion? Will I run into allot of packages that wont install like this? I am not interested in other ways to manage packages here, just wether or not this is a good or bad idea.

Thanks

I debated between placing this post in the LFS or general linux as it could apply to any distro. Sorry if I put it in the wrong place.
 
Old 12-21-2008, 09:38 PM   #2
jailbait
Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Wheezy, Debian Jessie
Posts: 7,549

Rep: Reputation: 180Reputation: 180
Most packages are installed and maintained by root for the benefit of all users. It is possible for a user to install a package for himself which cannot be used by other users but this is the exception, not the rule. So if you download a package to be used by all users then install that package as root.

--------------------
Steve Stites
 
Old 12-29-2008, 04:27 AM   #3
cyphercell
LQ Newbie
 
Registered: Dec 2008
Posts: 13

Rep: Reputation: 0
The package users method is an elegant solution to the problem of building and installing linux from scratch. You will keep most of the build & installation issues that traditionally accompany the package users method and you will lose the benefits of each package having their own home directories, login scripts, groups, etc.
 
  


Reply

Tags
lfs, package management


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
LXer: GNOME Debian Package Finder: Rough and ready package search for the desktop LXer Syndicated Linux News 0 09-04-2008 01:00 AM
synaptic package manager forcing me to delete a broken package mbman Linux - Software 6 04-25-2006 09:30 AM
message "Problem during installation: x package needed for (installed) x package frayed2 Linux - Newbie 1 04-24-2005 07:05 PM
is there a way to update a single package in gentoo? mdpniesta Linux - Software 4 01-26-2005 02:19 AM
apt wont install a single package craigdolson Debian 3 12-16-2003 04:59 PM


All times are GMT -5. The time now is 02:05 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration