[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#170276: marked as done (apt: [wish] Way to invoke command(s) after an APT session during which dpkg was called.)



Your message dated Sun, 12 Jan 2003 16:37:16 -0500
with message-id <20030112213716.GN23256@mizar.alcor.net>
and subject line apt: [wish] Way to invoke command(s) after an APT session during which dpkg was called.
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at maintonly) by bugs.debian.org; 22 Nov 2002 10:01:33 +0000
>From alex@aoi.dyndns.org Fri Nov 22 04:01:33 2002
Return-path: <alex@aoi.dyndns.org>
Received: from mail.frys.com [63.204.205.60] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 18FAcu-0004Pe-00; Fri, 22 Nov 2002 04:01:32 -0600
Received: from aoi.dyndns.org (postfix@host-66-81-121-232.rev.o1.com [66.81.121.232])
	by mail.frys.com (8.11.6/8.11.6) with SMTP id gAMA7fp29350
	for <maintonly@bugs.debian.org>; Fri, 22 Nov 2002 02:07:41 -0800
Received: by aoi.dyndns.org (Postfix, from userid 1001)
	id 7F8542D182C; Fri, 22 Nov 2002 02:00:58 -0800 (PST)
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Alexander Hvostov <alex@aoi.dyndns.org>
To: Debian Bug Tracking System <maintonly@bugs.debian.org>
Subject: apt: [wish] Way to invoke command(s) after an APT session during
	which dpkg was called.
X-Mailer: reportbug 2.9
Date: Fri, 22 Nov 2002 02:00:58 -0800
Message-Id: <20021122100058.7F8542D182C@aoi.dyndns.org>
Delivered-To: maintonly@bugs.debian.org
X-Spam-Status: No, hits=0.1 required=5.0
	tests=PGP_SIGNATURE,SPAM_PHRASE_00_01
	version=2.41
X-Spam-Level: 

Package: apt
Version: 0.5.4
Severity: wishlist

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

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.

- -- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux cornerstone 2.4.19 #2 Fri Nov 8 07:53:54 PST 2002 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages apt depends on:
ii  libc6                        2.3.1-3     GNU C Library: Shared libraries an
ii  libstdc++2.10-glibc2.2       1:2.95.4-12 The GNU stdc++ library

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE93gBatHQW4HWNftkRAuLvAJ0eFxsNjei6emUb8jTLHEk26QOFTACfUDk2
bx4qHHGbOS10rcyD8FlgLEY=
=yk4p
-----END PGP SIGNATURE-----

---------------------------------------
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.

-- 
 - mdz



Reply to: