On Sun, 2003-01-12 at 13:48, Debian Bug Tracking System wrote: > This is an automatic notification regarding your Bug report > #170276: apt: [wish] Way to invoke command(s) after an APT session during which dpkg was called., > which was filed against the apt package. > > It has been closed by one of the developers, namely > Matt Zimmerman <mdz@debian.org>. > > Their explanation is attached below. If this explanation is > unsatisfactory and you have not received a better one in a separate > message then please contact the developer, by replying to this email. > > Debian bug tracking system administrator > (administrator, Debian Bugs database) > > Received: (at 170276-done) by bugs.debian.org; 12 Jan 2003 21:37:20 +0000 > >From mdz@csh.rit.edu Sun Jan 12 15:37:19 2003 > Return-path: <mdz@csh.rit.edu> > Received: from smtp01.mrf.mail.rcn.net [207.172.4.60] > by master.debian.org with esmtp (Exim 3.12 1 (Debian)) > id 18XpnD-0000XG-00; Sun, 12 Jan 2003 15:37:19 -0600 > Received: from 209-6-103-23.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.103.23] helo=mizar.alcor.net) > by smtp01.mrf.mail.rcn.net with esmtp (Exim 3.35 #4) > id 18XpnA-0005X8-00 > for 170276-done@bugs.debian.org; Sun, 12 Jan 2003 16:37:16 -0500 > Received: from mdz by mizar.alcor.net with local (Exim 3.36 #1 (Debian)) > id 18XpnA-0008UT-00 > for <170276-done@bugs.debian.org>; Sun, 12 Jan 2003 16:37:16 -0500 > Date: Sun, 12 Jan 2003 16:37:16 -0500 > From: Matt Zimmerman <mdz@debian.org> > To: 170276-done@bugs.debian.org > Subject: Re: apt: [wish] Way to invoke command(s) after an APT session during which dpkg was called. > Message-ID: <20030112213716.GN23256@mizar.alcor.net> > Mime-Version: 1.0 > Content-Type: text/plain; charset=us-ascii > Content-Disposition: inline > User-Agent: Mutt/1.4i > Sender: Matt Zimmerman <mdz@alcor.net> > Delivered-To: 170276-done@bugs.debian.org > X-Spam-Status: No, hits=-10.7 required=5.0 > tests=QUOTED_EMAIL_TEXT,SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01, > USER_AGENT,USER_AGENT_MUTT > version=2.41 > X-Spam-Level: > > > There should be a way to specify that some arbitrary shell command(s) > > should be run after an APT session during which dpkg was invoked. This > > could be used to update the dlocate database when packages are changed, > > for example. > > man 5 apt.conf: > > Pre-Invoke > > Post-Invoke > This is a list of shell commands to run before/after > invoking dpkg(8). Like Options this must be specified in > list notation. The commands are invoked in order using > /bin/sh, should any fail APT will abort. > > > Taking this concept a little further, APT could search a directory full of > > scripts (/etc/apt/postproc.d/ or some such) and run each one in order, and > > packages (such as dlocate) could drop scripts into that directory to be > > run, making the process of updating the dlocate database completely > > automatic and transparent to the system administrator. > > > man 8 apt-get: > > /etc/apt/apt.conf.d/ > APT configuration file fragments Configuration > Item: Dir::Etc::Parts. This didn't exist last time I checked. Sorry for wasting your time. You can close this bug now. Alex. -- PGP Public Key: http://aoi.dyndns.org/~alex/pgp-public-key -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GCS d- s:++ a18 C++(++++)>$ UL+++(++++) P--- L+++>++++ E---- W+(+++) N- o-- K+ w--- !O M(+) V-- PS+++ PE-- Y+ PGP+(+++) t* 5-- X-- R tv b- DI D+++ G e h! !r y ------END GEEK CODE BLOCK------
Attachment:
signature.asc
Description: This is a digitally signed message part