Hi Debianistas,
 for a while people have wanted a way to keep track of apt's actions.
 I started a trial of an idea of mine. I did:
 cp /usr/bin/dpkg /usr/bin/dpkg.real
 vi dpkg
 deleted all of the lines
 and made this in its place:
 -----------------
 #!/bin/sh
 echo "$(date) dpkg $@" >> /var/log/dpkg.log
 dpkg.real $@
 -----------------
 and what happens is that aptitude calls dpkg and as a result all of
 dpkg transactions get recorded with a date.
 any comments?
 -Kev
-- 

        (__)
        (oo)
  /------\/
 / |    ||
*  /\---/\
   ~~   ~~
...."Have you mooed today?"...

Attachment: signature.asc
Description: Digital signature

Reply via email to