LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-07-2012, 07:34 AM   #1
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 836

Rep: Reputation: 51
Home Directory-Private Rpm Data Base.


I found this interesting concept but would like to explore it more. These are the only links I could find on it. Are there any search terms that cover this topic better?

http://ajaya.name/?p=6353

http://www.nordugrid.org/documents/r...everybody.html
 
Old 02-07-2012, 04:41 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
I'm not sure what more there is to explore, the second link is quite comprehensive. Do you have specific questions ?
 
1 members found this post helpful.
Old 02-07-2012, 05:18 PM   #3
theKbStockpiler
Member
 
Registered: Sep 2009
Location: Central New York
Distribution: Fedora14,Scientific 6.1?, Mandriva 2010 ;GO MAGEIA!!!Next up Gentoo
Posts: 836

Original Poster
Rep: Reputation: 51
Thanks for the Reply!

I have not tried to do anything with a Private Rpm Data Base yet but the two guides set it up in the same (home) directory but with different paths.


A few concerns on this topic are:

-How does a Private db use Dependencies in the Main db?

-If the Rpm is a GUI how does the Desktop Environment launch it?

-Not as important but is there a way to implement Yum with the Private db?



The basis for my confusion is that I don't have a technical understanding of


-BASH Environmental Variables

-Chroot : Are these two just permission/Directory Tree Issues?




-Why Rpms would not be relocatable

-Why there is not BASH commands to Relocate a Non-Relocatable Rpm?


Last edited by theKbStockpiler; 02-07-2012 at 05:21 PM.
 
Old 02-07-2012, 08:35 PM   #4
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
-How does a Private db use Dependencies in the Main db?
It doesn't, thats why they use '--nodeps'
-If the Rpm is a GUI how does the Desktop Environment launch it?
If you mean using the graphical package management tools, they won't connect to your rpm database unless you hack them about, even then your changes would be lost on every update
-Not as important but is there a way to implement Yum with the Private db?
yum is a front end to rpm, I don't believe there's any way to point it at a custom rpmdb

The basis for my confusion is that I don't have a technical understanding of


-BASH Environmental Variables
Environment variables have many uses, commonly to pass information to applications and affect the way they behave. They can be set permanently in many places or temporarily. Take a look at /etc/bashrc and for a bucketload of reading 'man bash' (also see the bash builtin command 'export')
-Chroot : Are these two just permission/Directory Tree Issues?
A process can be given an abritrary root, a place it assumes there is nothing above. Chrooting a process is the act of setting it's root to some location to confine it to a part of the filesystem, therefore hiding the rest of the filesystem from it. Search for "chroot jail" for more info



-Why Rpms would not be relocatable
Generally we follow the FHS for placing files, putting them in non-standard places is more the exception than the rule so relocation information generally won't be present
-Why there is not BASH commands to Relocate a Non-Relocatable Rpm?
You can sort of relocate a non-relocatable rpm by using 'rpm .... --root <path>', also if you were in a chroot jail you would be relocated
 
2 members found this post helpful.
Old 05-02-2012, 05:37 PM   #5
Howitzer_105mm
LQ Newbie
 
Registered: May 2012
Posts: 1

Rep: Reputation: Disabled
I have been playing with the private DB creation. The --initdb does not create all of the files that exist in a real DB. For example the Basenames, Conflictname, Dirnames, etc... do not get created. I have to copy these from an actual RPM database. Even when I do this the "rpm -ivh " command returns a "permission denied" message on my private DB.

What's the correct way to get these files without having to perform a copy?
 
1 members found this post helpful.
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help installing a .rpm in home directory protolocke Linux - Software 3 11-16-2010 08:50 AM
LXer: Ubuntuís Encrypted Home Directory: A Canonical Approach to Data Privacy LXer Syndicated Linux News 0 10-22-2009 10:31 PM
Make home directory private to other users wilberto83cg Linux - Software 4 08-22-2006 10:27 AM
RPM data base always becaomes corrupt !!! qwijibow Linux - Software 4 12-01-2003 02:44 PM
rpm install to home directory gbanks Linux - General 3 07-11-2003 11:23 PM


All times are GMT -5. The time now is 12:23 AM.

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