Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 17 Apr 2014, 14:46
All times are UTC - 4
 Forum index » Advanced Topics » Cutting edge
When I install something I want to know the changes [SOLVED]
Moderators: Flash, Ian, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 2 [23 Posts]   Goto page: 1, 2 Next
Author Message
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Thu 26 Aug 2010, 11:12    Post subject:  When I install something I want to know the changes [SOLVED]
Subject description: How to find and record them?
 

I want to be able to install something and track exactly what has been installed so I can use that data to make an sfs file.

What is the easiest way to do this? A script? Comparing current ls to installed? Please advise the best way to accurately record this to eliminate errors.

Last edited by steve_s on Thu 26 Aug 2010, 17:41; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2167

PostPosted: Thu 26 Aug 2010, 13:13    Post subject:  

You can track operations using installwatch, although the 'sentry' utility included with src2pkg will track even more operations than install. There is a 'tracklist' utility for sentry which parses and simplifies the output from 'sentry' to give just a list of the files, dirs and links created or deleted. It will also report any chown or chmod actions.
Back to top
View user's profile Send private message 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Thu 26 Aug 2010, 14:51    Post subject:  

amigo wrote:
You can track operations using installwatch, although the 'sentry' utility included with src2pkg will track even more operations than install. There is a 'tracklist' utility for sentry which parses and simplifies the output from 'sentry' to give just a list of the files, dirs and links created or deleted. It will also report any chown or chmod actions.


Amigo: thank you much for your quick response. I ran installwatch and it made a log, but it is so thorough I can't really grasp it.

Thankfully I had run a full list before my install so I'll just have to go through it manually; tedious but will work.

Thanks again. Cool
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10658
Location: Arizona USA

PostPosted: Thu 26 Aug 2010, 15:46    Post subject:  

Could Menu -> Utility -> Xdelta file difference manager be used for what you want to do? I haven't tried it so I don't know anything about it other than the name. Laughing
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 26 Aug 2010, 15:56    Post subject:  

Fcheck:
http://www.murga-linux.com/puppy/viewtopic.php?t=54996
Back to top
View user's profile Send private message Visit poster's website 
Flash
Official Dog Handler


Joined: 04 May 2005
Posts: 10658
Location: Arizona USA

PostPosted: Thu 26 Aug 2010, 16:03    Post subject:  

Barry creates delta files for updating developmental Puppys without downloading (and uploading) the entire iso. He must have some way to find the difference.
Back to top
View user's profile Send private message 
jemimah


Joined: 26 Aug 2009
Posts: 4309
Location: Tampa, FL

PostPosted: Thu 26 Aug 2010, 17:22    Post subject:  

Well the binary difference is not that useful for remastering. If you want to know what files changed and how you can't use Xdelta.
Back to top
View user's profile Send private message Visit poster's website 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Thu 26 Aug 2010, 17:27    Post subject:  

thanks all...great ideas....don't know which is best...

Unfortunately I've already installed it then went through the lists manually...what's worse is it's a big program installed in wine...I have to take a few minutes and gather my brains back into my skull...I should have waited for y'all...ugh. Laughing
Back to top
View user's profile Send private message Visit poster's website 
amigo

Joined: 02 Apr 2007
Posts: 2167

PostPosted: Fri 27 Aug 2010, 03:10    Post subject:  

As I said, the 'tracklist' tool which comes with src2pkg outputs just the file list. It parses the huge logs created by libsentry(like installwatch logs).
You can get libsentry here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-2.2/src2pkg-helpers/Resources/libsentry-0.6.9.tar.bz2

The tracklist tool is here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-2.2/Resources/bin/tracklist

You need to compile and install libsentry first. Best tool around for the purpose.
Back to top
View user's profile Send private message 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Fri 27 Aug 2010, 11:51    Post subject:  

amigo wrote:
As I said, the 'tracklist' tool which comes with src2pkg outputs just the file list. It parses the huge logs created by libsentry(like installwatch logs).
You can get libsentry here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-2.2/src2pkg-helpers/Resources/libsentry-0.6.9.tar.bz2

The tracklist tool is here:
http://distro.ibiblio.org/pub/linux/distributions/amigolinux/download/src2pkg/src2pkg-2.2/Resources/bin/tracklist

You need to compile and install libsentry first. Best tool around for the purpose.


Thanks amigo...good find. Cool
Back to top
View user's profile Send private message Visit poster's website 
technosaurus


Joined: 18 May 2008
Posts: 4134

PostPosted: Fri 27 Aug 2010, 11:57    Post subject:  

also ... for most files you can also look in /root/.packages/<name_of_pet> .files
_________________
Web Programming - Pet Packaging 100 & 101
Back to top
View user's profile Send private message 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Fri 27 Aug 2010, 12:01    Post subject:  

technosaurus wrote:
also ... for most files you can also look in /root/.packages/<name_of_pet> .files


Thanks for that, techno, but this was a wine file and it doesn't list those there, does it? But thanks for the post.
Back to top
View user's profile Send private message Visit poster's website 
runtt21


Joined: 07 Jun 2008
Posts: 1640
Location: BigD Texas

PostPosted: Fri 27 Aug 2010, 17:49    Post subject:  

This may not be what you are asking for but I like to take .pets apart it see what is included.

For example say you have a RUNTT.pet move it some place where you can work on it and run ...

pet2tgz RUNTT.pet

That will turn it into a .tar.gz that you can unpack and snoop through .
Back to top
View user's profile Send private message Visit poster's website 
paulhomebus


Joined: 21 Jan 2010
Posts: 120
Location: New Zealand

PostPosted: Fri 27 Aug 2010, 18:22    Post subject:  

Just wondering if paco is what you might have wanted....

If you use it when you make install it can be great!

http://users.tpg.com.au/01micko/01mickos_tools.html

Paul
Back to top
View user's profile Send private message Visit poster's website AIM Address 
steve_s


Joined: 26 May 2008
Posts: 1545
Location: Austin, TX, USA

PostPosted: Fri 27 Aug 2010, 18:34    Post subject:  

runt: just the opposite of that, but thanks; I use that one all the time.


paulhomebus wrote:
Just wondering if paco is what you might have wanted....

If you use it when you make install it can be great!

http://users.tpg.com.au/01micko/01mickos_tools.html

Paul


Maybe...I would have to do some trials...i think that or what amigo is talking about would be the best way to go...
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 2 [23 Posts]   Goto page: 1, 2 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Cutting edge
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0646s ][ Queries: 13 (0.0040s) ][ GZIP on ]