Debian Bug report logs - #860237
piuparts: Improve debugging experience in case of dpkg failure

Package: piuparts; Maintainer for piuparts is piuparts developers team <[email protected]>; Source for piuparts is src:piuparts (PTS, buildd, popcon).

Reported by: Bastien ROUCARIÈS <[email protected]>

Date: Thu, 13 Apr 2017 09:48:01 UTC

Severity: wishlist

Full log


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

Received: (at control) by bugs.debian.org; 13 Apr 2017 10:13:38 +0000
From [email protected] Thu Apr 13 10:13:38 2017
X-Spam-Checker-Version: SpamAssassin 3.4.0-bugs.debian.org_2005_01_02
	(2014-02-07) on buxtehude.debian.org
X-Spam-Level: 
X-Spam-Status: No, score=-14.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER,
	PGPSIGNATURE,RCVD_IN_DNSWL_NONE,VALID_BTS_CONTROL autolearn=ham
	autolearn_force=no version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 13; hammy, 150; neutral, 42; spammy,
	0. spammytokens: hammytokens:0.000-+--H*c:pgp-sha512, 0.000-+--H*F:U*holger,
	0.000-+--H*RU:sk:holger@, 0.000-+--H*rp:U*holger,
	0.000-+--H*F:D*layer-acht.org
Return-path: <[email protected]>
Received: from mail.holgerlevsen.de ([62.201.164.66] helo=alpha.holgerlevsen.de)
	by buxtehude.debian.org with esmtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1cybkw-000897-74; Thu, 13 Apr 2017 10:13:38 +0000
Received: from localhost (alpha.holgerlevsen.de [62.201.164.66])
	by alpha.holgerlevsen.de (Postfix) with ESMTP id 4B4E5CAD836;
	Thu, 13 Apr 2017 12:13:34 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at mail.holgerlevsen.de
Received: from alpha.holgerlevsen.de ([62.201.164.66])
	by localhost (mail.holgerlevsen.de [62.201.164.66]) (amavisd-new, port 10024)
	with ESMTP id dZBZc_sNYqO5; Thu, 13 Apr 2017 12:13:33 +0200 (CEST)
Received: from layer-acht.org (epsilon.holgerlevsen.de [62.201.164.82])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by alpha.holgerlevsen.de (Postfix) with ESMTPS id B6096CAD833;
	Thu, 13 Apr 2017 12:13:33 +0200 (CEST)
Date: Thu, 13 Apr 2017 10:13:29 +0000
From: Holger Levsen <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: [Piuparts-devel] Bug#860237: [piuparts.debian.org] Improve
 debugging experience in case of dpkg failure
Message-ID: <[email protected]>
References: <10827973.O9o76ZdvQC@portable2015-bastien>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha512;
	protocol="application/pgp-signature"; boundary="pf9I7BMVVzbSWLtt"
Content-Disposition: inline
In-Reply-To: <10827973.O9o76ZdvQC@portable2015-bastien>
Delivered-To: [email protected]
X-CrossAssassin-Score: 2
[Message part 1 (text/plain, inline)]
reassign 860237 piuparts
severity 860237 wishlist
retitle 860238 [dpkg] Improve debugging experience for piuparts
block 860237 by 860238
thanks

On Thu, Apr 13, 2017 at 11:44:16AM +0200, Bastien ROUCARIÈS wrote:
> Actually dpkg try to recover from error state in order to get something safe.
> it is not really needed for piupart and moreover it detroy bug evidence.
> Safer will be to add  abort-after=1 to dpkg config thus keeping evidence.

more context from irc:

< broucaries> | h01ger: get this from guillem
< broucaries>  guillem: [23:44:51] for dpkg you can configure it in the config file with abort-after=1
< broucaries> | guillem: [23:45:02] dunno about piuparts
< broucaries> | h01ger: could we add this to piupart and get some script to list file contents ?
<     h01ger> | broucaries: i need more context
<     h01ger> | broucaries: and probably a bug report
< broucaries> | h01ger: for debugging the imagemagick-doc problem guillem suggests to set abort-after=1 for dpkg configuration, in order to stop in case of error instead to run recovery. Thus we could inspect the package state including file installed
< h01ger> | broucaries: also see #850917 and commit 285e9811cb in piuparts.git


-- 
cheers,
	Holger
[signature.asc (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:28:10 2025; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General 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.