Debian Bug report logs - #629590
aptitude: Fails to obey '-o "#clear DPkg::Pre-Install-Pkgs;"'

version graph

Package: aptitude; Maintainer for aptitude is Aptitude Development Team <[email protected]>; Source for aptitude is src:aptitude (PTS, buildd, popcon).

Reported by: Nick Phillips <[email protected]>

Date: Tue, 7 Jun 2011 21:57:01 UTC

Severity: wishlist

Tags: moreinfo

Found in versions aptitude/0.6.3-2, aptitude/0.6.3-3.2, aptitude/0.6.4-1.2

Fix blocked by 656844: apt: support #clear directive in CommandLine parser

Full log


Message #5 received at [email protected] (full text, mbox, reply):

Received: (at submit) by bugs.debian.org; 7 Jun 2011 21:54:59 +0000
From [email protected] Tue Jun 07 21:54:59 2011
X-Spam-Checker-Version: SpamAssassin 3.3.1-bugs.debian.org_2005_01_02
	(2010-03-16) on busoni.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-12.9 required=4.0 tests=BAYES_00,FOURLA,
	FROMDEVELOPER,HAS_PACKAGE,IMPRONONCABLE_2,XMAILER_REPORTBUG autolearn=ham
	version=3.3.1-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 11; hammy, 151; neutral, 300; spammy,
	0. spammytokens: hammytokens:0.000-+--H*M:reportbug, 0.000-+--H*MI:reportbug,
	0.000-+--H*x:reportbug, 0.000-+--H*UA:reportbug, 0.000-+--UD:dfsg-3
Return-path: <[email protected]>
Received: from mailhub2.otago.ac.nz ([139.80.64.247])
	by busoni.debian.org with esmtp (Exim 4.72)
	(envelope-from <[email protected]>)
	id 1QU4El-0006O8-Dw
	for [email protected]; Tue, 07 Jun 2011 21:54:59 +0000
Received: from popeye.otago.ac.nz (popeye.otago.ac.nz [139.80.37.17])
	by mailhub2.otago.ac.nz (8.13.8/8.13.8) with ESMTP id p57LsoKT009093;
	Wed, 8 Jun 2011 09:54:51 +1200
Received: from [139.80.40.172] (helo=mrslim.otago.ac.nz)
	by popeye.otago.ac.nz with esmtp (Exim 4.69)
	(envelope-from <[email protected]>)
	id 1QU4BT-0001j9-Ua; Wed, 08 Jun 2011 09:51:36 +1200
Received: from nwp by mrslim.otago.ac.nz with local (Exim 4.72)
	(envelope-from <[email protected]>)
	id 1QU4BN-0008Or-U0; Wed, 08 Jun 2011 09:51:29 +1200
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Nick Phillips <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: aptitude: Fails to obey '-o "#clear DPkg::Pre-Install-Pkgs;"'
Message-ID: <[email protected]>
X-Mailer: reportbug 4.12.6
Date: Wed, 08 Jun 2011 09:51:29 +1200
Delivered-To: [email protected]
Package: aptitude
Version: 0.6.3-3.2
Severity: normal

The command line:
apt-get -q -y -o "#clear DPkg::Pre-Install-Pkgs;" install somepkg

still causes dpkg-preconfigure to be used to preconfigure packages, when the line:
DPkg::Pre-Install-Pkgs {"/usr/sbin/dpkg-preconfigure --apt || true";};

is present in /etc/apt/apt.conf.d/70debconf


The equivalent invocation of apt-get successfully inhibits the preconfiguration.
I note that:
apt-config -o "#clear DPkg::Pre-Install-Pkgs;" dump

fails to parse the option and barfs, insisting that the option must contain an "=".
Perhaps this is related?


Cheers,


Nick


-- Package-specific info:
aptitude 0.6.3 compiled at Oct 16 2010 18:18:04
Compiler: g++ 4.4.5
Compiled against:
  apt version 4.10.1
  NCurses version 5.7
  libsigc++ version: 2.2.4.2
  Ept support enabled.
  Gtk+ support disabled.

Current library versions:
  NCurses version: ncurses 5.7.20100313
  cwidget version: 0.5.16
  Apt version: 4.10.1
	linux-vdso.so.1 =>  (0x00007fff09fff000)
	libapt-pkg.so.4.10 => /usr/lib/libapt-pkg.so.4.10 (0x00007f1c28d92000)
	libncursesw.so.5 => /lib/libncursesw.so.5 (0x00007f1c28b3f000)
	libsigc-2.0.so.0 => /usr/lib/libsigc-2.0.so.0 (0x00007f1c28939000)
	libcwidget.so.3 => /usr/lib/libcwidget.so.3 (0x00007f1c2866d000)
	libept.so.1 => /usr/lib/libept.so.1 (0x00007f1c28419000)
	libxapian.so.22 => /usr/lib/libxapian.so.22 (0x00007f1c28038000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f1c27e21000)
	libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f1c27b8a000)
	libboost_iostreams.so.1.42.0 => /usr/lib/libboost_iostreams.so.1.42.0 (0x00007f1c2796e000)
	libpthread.so.0 => /lib/libpthread.so.0 (0x00007f1c27752000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f1c2743e000)
	libm.so.6 => /lib/libm.so.6 (0x00007f1c271bb000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f1c26fa5000)
	libc.so.6 => /lib/libc.so.6 (0x00007f1c26c44000)
	libutil.so.1 => /lib/libutil.so.1 (0x00007f1c26a40000)
	libdl.so.2 => /lib/libdl.so.2 (0x00007f1c2683c000)
	libuuid.so.1 => /lib/libuuid.so.1 (0x00007f1c26637000)
	libbz2.so.1.0 => /lib/libbz2.so.1.0 (0x00007f1c26427000)
	librt.so.1 => /lib/librt.so.1 (0x00007f1c2621f000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1c290ae000)
Terminal: xterm
$DISPLAY is set.
`which aptitude`: /usr/bin/aptitude
aptitude version information:

aptitude linkage:

-- System Information:
Debian Release: 6.0.1
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-updates')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages aptitude depends on:
ii  apt [libapt-pkg4.10]    0.8.10.3         Advanced front-end for dpkg
ii  libboost-iostreams1.42. 1.42.0-4         Boost.Iostreams Library
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  libcwidget3             0.5.16-3         high-level terminal interface libr
ii  libept1                 1.0.4            High-level library for managing De
ii  libgcc1                 1:4.4.5-8        GCC support library
ii  libncursesw5            5.7+20100313-5   shared libraries for terminal hand
ii  libsigc++-2.0-0c2a      2.2.4.2-1        type-safe Signal Framework for C++
ii  libsqlite3-0            3.7.3-1          SQLite 3 shared library
ii  libstdc++6              4.4.5-8          The GNU Standard C++ Library v3
ii  libxapian22             1.2.3-2          Search engine library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages aptitude recommends:
ii  apt-xapian-index              0.41       maintenance and search tools for a
ii  aptitude-doc-en [aptitude-doc 0.6.3-3.2  English manual for aptitude, a ter
ii  libparse-debianchangelog-perl 1.1.1-2.1  parse Debian changelogs and output
ii  sensible-utils                0.0.4      Utilities for sensible alternative

Versions of packages aptitude suggests:
pn  debtags                       <none>     (no description available)
ii  tasksel                       2.88       Tool for selecting tasks for insta

-- no debconf information




Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Sun Sep 22 09:29:24 2024; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.