LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Is there software to track every change made by aptitue. (https://www.linuxquestions.org/questions/linux-software-2/is-there-software-to-track-every-change-made-by-aptitue-709245/)

Chris Stegman 03-04-2009 08:40 PM

Is there software to track every change made by aptitue.
 
I am looking for some software which can tell me every file installed, modified and touched, by aptitude install <package> and the changes in the modified file.

I already know about the files
/var/log/aptitude
/var/log/dpkg.log
/var/log/apt/term.log
/var/lib/dpkg/info/<package>
.conffiles
.config
.list
.postinst
.postrm
.preinst
.prerm
.templates
.triggers

Currently I have most of the process automated to the point that list of all new, modified or touched files, and all of the package files out of the *.list files are generated. The lists are also cleansed of any system and housekeeping files.

I still have to manually read all of the files in /var/lib/dpkg/info/<package>/* to figure out what they modified in the file.

Someone has surely done this already, but they did it the correct way by using the process tree and hooking file access, instead of the quick and dirty comparing file list.

Does anyone know of such software?

Also, where are the details on how templates and triggers work?

Thanks


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