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

Bug#231914: marked as done (Command line option (--option DPkg::Pre-Install-Pkgs) does not work)



Your message dated Mon, 9 Feb 2004 08:42:50 -0800
with message-id <20040209164250.GR24474@alcor.net>
and subject line Bug#231914: Command line option (--option DPkg::Pre-Install-Pkgs) does not work
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 submit) by bugs.debian.org; 9 Feb 2004 16:13:24 +0000
>From debacle@debian.org Mon Feb 09 08:13:24 2004
Return-path: <debacle@debian.org>
Received: from einhorn.in-berlin.de [192.109.42.8] (root)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AqE2G-0008HV-00; Mon, 09 Feb 2004 08:13:24 -0800
X-Envelope-From: debacle@debian.org
X-Envelope-To: <submit@bugs.debian.org>
Received: from einhorn.in-berlin.de (localhost [127.0.0.1])
	by einhorn.in-berlin.de (8.12.10/8.12.10/Debian-4) with ESMTP id i19GDJkb016987
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT)
	for <submit@bugs.debian.org>; Mon, 9 Feb 2004 17:13:19 +0100
Received: (from www-data@localhost)
	by einhorn.in-berlin.de (8.12.10/8.12.10/Debian-4) id i19GDIqw016985
	for submit@bugs.debian.org; Mon, 9 Feb 2004 17:13:18 +0100
X-Authentication-Warning: einhorn.in-berlin.de: www-data set sender to debacle@debian.org using -f
Received: from port-213-148-143-146.reverse.qsc.de (port-213-148-143-146.reverse.qsc.de [213.148.143.146]) 
	by webmail.in-berlin.de (IMP) with HTTP 
	for <knorke_wolle@localhost>; Mon,  9 Feb 2004 17:13:18 +0100
Message-ID: <[🔎] 1076343198.4027b19ee1c98@webmail.in-berlin.de>
Date: Mon,  9 Feb 2004 17:13:18 +0100
From: "W. Borgert" <debacle@debian.org>
To: submit@bugs.debian.org
Subject: Command line option (--option DPkg::Pre-Install-Pkgs) does not work
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 3.2.2
X-Scanned-By: MIMEDefang 2.38
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-5.0 required=4.0 tests=HAS_PACKAGE autolearn=no 
	version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

Package: apt
Version: 0.5.21

I'm not 100% positive about the syntax, but the command line

# apt-get --option 'DPkg::Pre-Install-Pkgs="touch /tmp/foo;";' \
  --yes install hello

should create a file under /tmp/, but doesn't.  For script
mirroring parts of Debian, I like to use apt-get install,
without actually installing the packages:

# apt-get --option 'DPkg::Pre-Install-Pkgs="false;";' \
  --yes install hello

But this works only, if I set the option in /etc/apt/apt.conf,
not at the command line.  I tried DPkg::Pre-Invoke without
success.  I'm working on sarge.

---------------------------------------
Received: (at 231914-done) by bugs.debian.org; 9 Feb 2004 16:43:33 +0000
>From mdz@alcor.net Mon Feb 09 08:43:33 2004
Return-path: <mdz@alcor.net>
Received: from mta9.adelphia.net [68.168.78.199] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1AqEVR-0001Fg-00; Mon, 09 Feb 2004 08:43:33 -0800
Received: from mizar.alcor.net ([68.64.159.24]) by mta9.adelphia.net
          (InterMail vM.5.01.06.05 201-253-122-130-105-20030824) with ESMTP
          id <20040209164251.FQJJ22188.mta9.adelphia.net@mizar.alcor.net>;
          Mon, 9 Feb 2004 11:42:51 -0500
Received: from mdz by mizar.alcor.net with local (Exim 4.30)
	id 1AqEUk-0002YY-S0; Mon, 09 Feb 2004 08:42:50 -0800
Date: Mon, 9 Feb 2004 08:42:50 -0800
From: Matt Zimmerman <mdz@debian.org>
To: "W. Borgert" <debacle@debian.org>, 231914-done@bugs.debian.org
Subject: Re: Bug#231914: Command line option (--option DPkg::Pre-Install-Pkgs) does not work
Message-ID: <20040209164250.GR24474@alcor.net>
References: <[🔎] 1076343198.4027b19ee1c98@webmail.in-berlin.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[🔎] 1076343198.4027b19ee1c98@webmail.in-berlin.de>
User-Agent: Mutt/1.5.5.1+cvs20040105i
Sender: Matt Zimmerman <mdz@alcor.net>
Delivered-To: 231914-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_02_01 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=no 
	version=2.60-bugs.debian.org_2004_02_01
X-Spam-Level: 

On Mon, Feb 09, 2004 at 05:13:18PM +0100, W. Borgert wrote:

> I'm not 100% positive about the syntax, but the command line
> 
> # apt-get --option 'DPkg::Pre-Install-Pkgs="touch /tmp/foo;";' \
>   --yes install hello
> 
> should create a file under /tmp/, but doesn't.  For script
> mirroring parts of Debian, I like to use apt-get install,
> without actually installing the packages:
> 
> # apt-get --option 'DPkg::Pre-Install-Pkgs="false;";' \
>   --yes install hello
> 
> But this works only, if I set the option in /etc/apt/apt.conf,
> not at the command line.  I tried DPkg::Pre-Invoke without
> success.  I'm working on sarge.

dpkg::pre-install-pkgs is a list.

apt-get --option dpkg::pre-install-pkgs::=false

apt.conf line 57 or so.

-- 
 - mdz



Reply to: