Do all frontends use the dpkg binary?

2005-01-23 Thread Kevin Mark
Hi DD folken, I simple question. In my quest to log package installation, I wrote a wrapper script for dpkg. I 'mv dpkg dpkg.real' and 'vi dpkg' with a wrapper[0]. When I use aptitude and apt-get, these commands seem to call dpkg for all of there package installation and query needs. Do others

Re: Do all frontends use the dpkg binary?

2005-01-23 Thread Kevin Mark
On Sun, Jan 23, 2005 at 09:22:36PM +1100, Matthew Palmer wrote: On Sun, Jan 23, 2005 at 05:21:02AM -0500, Kevin Mark wrote: Also, is there a way to avoid a dpkg upgrade overwriting /usr/bin/dpkg and (IIRC) divert /usr/bin/dpkg - /usr/bin/dpkg.real, so that I dont have to remember to redo

Re: Do all frontends use the dpkg binary?

2005-01-23 Thread Adeodato Simó
* Kevin Mark [Sun, 23 Jan 2005 07:37:57 -0500]: So: dpkg-divert --package dpkg --add --rename --divert \ /usr/bin/dpkg.real /usr/bin/dpkg did the trick! Uhm, I think you want to carefully read the --package option description in the man page. And then, check --local. -- Adeodato Simó

Re: Do all frontends use the dpkg binary?

2005-01-23 Thread Christoph Berg
Re: Kevin Mark in [EMAIL PROTECTED] In my quest to log package installation, I wrote a wrapper script for dpkg. $ tail -1 /etc/apt/apt.conf DPkg::Pre-Install-Pkgs {logger -t DPkg::Pre-Install-Pkgs;}; Christoph -- [EMAIL PROTECTED] | http://www.df7cb.de/ signature.asc Description: Digital

Re: Do all frontends use the dpkg binary?

2005-01-23 Thread Bartosz Fenski aka fEnIo
On Sun, Jan 23, 2005 at 06:11:42PM +0100, Christoph Berg wrote: In my quest to log package installation, I wrote a wrapper script for dpkg. $ tail -1 /etc/apt/apt.conf DPkg::Pre-Install-Pkgs {logger -t DPkg::Pre-Install-Pkgs;}; I wonder if it would be possible to set is as default

Re: Do all frontends use the dpkg binary?

2005-01-23 Thread Scott James Remnant
On Sun, 2005-01-23 at 18:19 +0100, Bartosz Fenski aka fEnIo wrote: On Sun, Jan 23, 2005 at 06:11:42PM +0100, Christoph Berg wrote: In my quest to log package installation, I wrote a wrapper script for dpkg. $ tail -1 /etc/apt/apt.conf DPkg::Pre-Install-Pkgs {logger -t

Re: Do all frontends use the dpkg binary?

2005-01-23 Thread Kevin Mark
On Sun, Jan 23, 2005 at 08:13:08PM +0100, Tollef Fog Heen wrote: * Kevin Mark | In my quest to log package installation, I wrote a wrapper script for | dpkg. I 'mv dpkg dpkg.real' and 'vi dpkg' with a wrapper[0]. When I use | aptitude and apt-get, these commands seem to call dpkg for all of

Re: Do all frontends use the dpkg binary?

2005-01-23 Thread Chris Walker
Scott James Remnant [EMAIL PROTECTED] writes: This would mean the disk would gradually fill up with logs, unless you rotated them; which seems to defeat the use case everybody has given for dpkg's actions being logged in the first place. Logs kept for a week would still be useful. A bug I