LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-29-2009, 12:54 PM   #1
RaptorX
Member
 
Registered: Jun 2009
Location: Emden, Germany
Distribution: Slackware 12.2, Slax 6.1
Posts: 254

Rep: Reputation: 37
TRIP-Trivial Package Manager [Questions+Info]


While i have been searching for a package management system different from the common ones thinking about security I tripped [pun not intended] on this one...:

Trip 0.3 made by Pierre Hebert.
http://www.pierrox.net/trip/

I love the simplicity... its just a bash script that you can modify yourself at any point which handles tar-balls. It provides a little better security as far as I understand.

Now, I am not sure if i understand correctly but the main point is that he uses unionfs to overlap the root system in read only mode and a temporal mount called /mnt/pkg in which the packages will be temporally installed using a command like:
Code:
trip -i foopkg.tar.gz
Now what i dont get is if root is read only how does trip installs the package?

also, why the need of a binary tar ball?
he says that you need to do:

Code:
trip -b foo12.3
and then

Code:
trip -i foo12.3.tar.bz
as I understand it will first
Quote:
create a package named "foo12.3.tar.bz" in the current directory, containing the standard directory structure
which you will install, but I mean isnt it empty because you didnt specify any sources...or I am missing something?

I would also like to know why did he mention this warning:

Quote:
WARNING : Trip wont work as expected if your system is based on several file systems, for example / and /usr. In this case /usr will not be visible inside /mnt/union and so a lot of things will probably not work. Work is in progress to drop this limitation.
When he mentions file systems what do you think he means because as far as I know / and /usr are folders of the same file system or I am missing something there too?

Finally Im aware that he is using this mainly for LFS but I am thinking [after finish reading Advanced Bash Scripting] on maybe expanding this script to fit my needs on other distros and maybe generalize it so other people can benefit of it!!

So, can you guys tell me your opinion on this approach, downfalls that you might see, problems that he doesnt mention... [well, he does says that his work is in beta and that bugs may be found] etc.

--
In an almost totally off topic

Is there a repository of just tarballs similar to ex. slackbuild repository??

The reason being that as trip handles tarballs maybe I can modify the script to search in a repository for a specific program that i want to download, since he made it clear that "Trip is not RPM nor DPKG (to name only two). It will not fetch packages automatically for you from internet." but maybe it is a good idea to at least point to a web page where it download the sources that you are searching for!

Im thinking something as a:

Code:
wget $1* http//foo.com/sources/
(sorry if there's any mistake there but Im a newbie in bash scripting, I just have so many ideas that i cant put in to script that hopefully when i finish with the ABS book it will be little better)

when you do something like

Code:
trip -ds bash 
[ds = download source, which is just made up as an example]
I hope to get some constructive criticism here

Thanks in advance guys!

Last edited by RaptorX; 07-29-2009 at 12:57 PM.
 
Old 01-07-2010, 11:53 AM   #2
Johnburrell
Member
 
Registered: May 2004
Distribution: FC3
Posts: 87

Rep: Reputation: 27
I see you didn't get any replies to your post, which is a shame.

I have built LFS a few times and have used the package user system but have come up against a few problems. These are mainly associated with the installation of Xorg and Gnome or KDE. There are so many packages in X alone that one has to resort to the Wget auto download and installation system which means running as root. Out of the window goes the package user method!

I was interested to read Hebert's Trip method but it seems he has not pursued it to the point where it is easily usable. (for example, the download link at http://things.1000wallpaper.com/trip/trip.tar is broken).
Since your post, have you made any progress in trying to use the Trip system?

Regards

jb
 
  


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
sabayon package manager questions deathalele Linux - Distributions 0 12-22-2008 05:36 PM
Questions related to package manager based and manual installation koobi Red Hat 3 11-05-2007 06:46 AM
Smart Package Manager Error:Warning: You Must Fetch Channel Info Balarabay1 SUSE / openSUSE 10 09-20-2006 11:32 PM
Some trivial questions... wpyh Linux - General 2 06-21-2004 09:56 AM
Some trivial questions... wpyh Slackware 1 06-21-2004 05:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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