Re: DPkg::Pre-Invoke

2009-06-07 Thread Anton Piatek
2009/6/6 Andrei Popescu andreimpope...@gmail.com: On Sat,06.Jun.09, 10:52:30, Peter Jordan wrote: i want to be informed per mail if someone installs, upgrades, downgrades, removes or purges a package via aptitude, apt-get or dpkg. I could of course parse the /var/lib/dpkg/status file, but

Re: DPkg::Pre-Invoke

2009-06-06 Thread Andrei Popescu
On Sat,06.Jun.09, 07:51:13, Peter Jordan wrote: i want to log every change of packages in my system. More than you already have in /var/log/dpkg.log /var/log/aptitude /var/log/apt/term.log ? Regards, Andrei -- If you can't explain it simply, you don't understand it well enough. (Albert

Re: DPkg::Pre-Invoke

2009-06-06 Thread Peter Jordan
Andrei Popescu, Sat Jun 06 2009 08:56:56 GMT+0200 (CEST): On Sat,06.Jun.09, 07:51:13, Peter Jordan wrote: i want to log every change of packages in my system. More than you already have in /var/log/dpkg.log /var/log/aptitude /var/log/apt/term.log ? Regards, Andrei i want to be informed

Re: DPkg::Pre-Invoke

2009-06-06 Thread Andrei Popescu
On Sat,06.Jun.09, 10:52:30, Peter Jordan wrote: i want to be informed per mail if someone installs, upgrades, downgrades, removes or purges a package via aptitude, apt-get or dpkg. I could of course parse the /var/lib/dpkg/status file, but that's not what i want. Ok, that's an entirely

Re: DPkg::Pre-Invoke

2009-06-05 Thread Ólafur Jens Sigurðsson
On Thu, Jun 04, 2009 at 12:03:25PM +0200, Peter Jordan wrote: Hello, is it possible to pass the package name and package version to a script with DPkg::Pre-Invoke? If not, is there any other way? Its really unclear what it is you want to do, is this a bash script your talking about? A perl

Re: DPkg::Pre-Invoke

2009-06-05 Thread Peter Jordan
Ólafur Jens Sigurðsson, Fri Jun 05 2009 20:24:48 GMT+0200 (CEST): On Thu, Jun 04, 2009 at 12:03:25PM +0200, Peter Jordan wrote: Hello, is it possible to pass the package name and package version to a script with DPkg::Pre-Invoke? If not, is there any other way? Its really unclear what

DPkg::Pre-Invoke

2009-06-04 Thread Peter Jordan
Hello, is it possible to pass the package name and package version to a script with DPkg::Pre-Invoke? If not, is there any other way? PJ -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org