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


🔗 View this message in rfc822 format

X-Loop: [email protected]
Subject: Bug#860237: [Piuparts-devel] Bug#860237: [piuparts.debian.org] Improve debugging experience in case of dpkg failure
Reply-To: roucaries bastien <[email protected]>, [email protected]
Resent-From: roucaries bastien <[email protected]>
Original-Sender: [email protected]
Resent-To: [email protected]
Resent-CC: piuparts developers team <[email protected]>
X-Loop: [email protected]
Resent-Date: Thu, 13 Apr 2017 13:33:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Debian-PR-Message: followup 860237
X-Debian-PR-Package: piuparts
X-Debian-PR-Keywords: 
X-Debian-PR-Source: piuparts
Received: via spool by [email protected] id=B860237.149209018013291
          (code B ref 860237); Thu, 13 Apr 2017 13:33:02 +0000
Received: (at 860237) by bugs.debian.org; 13 Apr 2017 13:29:40 +0000
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=-6.9 required=4.0 tests=BAYES_00,DKIM_SIGNED,
	DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,HAS_BUG_NUMBER,RCVD_IN_DNSWL_LOW,
	SPF_PASS autolearn=ham autolearn_force=no
	version=3.4.0-bugs.debian.org_2005_01_02
X-Spam-Bayes: score:0.0000 Tokens: new, 29; hammy, 148; neutral, 43; spammy,
	0. spammytokens: hammytokens:0.000-+--HX-Google-DKIM-Signature:in-reply-to,
	0.000-+--H*F:U*roucaries.bastien, 0.000-+--HTo:U*anbe,
	0.000-+--H*rp:U*roucaries.bastien, 0.000-+--H*RU:sk:roucari
Received: from mail-wm0-x244.google.com ([2a00:1450:400c:c09::244])
	by buxtehude.debian.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1cyeod-0003Pp-QQ
	for [email protected]; Thu, 13 Apr 2017 13:29:40 +0000
Received: by mail-wm0-x244.google.com with SMTP id d79so12618558wmi.2
        for <[email protected]>; Thu, 13 Apr 2017 06:29:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=mime-version:sender:in-reply-to:references:from:date:message-id
         :subject:to:cc:content-transfer-encoding;
        bh=mbTFp9dxtLpOTrQKqMhTksHe1kLbvEiYykMqdUjGWQA=;
        b=M9bfveL+TNI1N6rh3r9ZFl/IWcYS4Jfm96aYZX2bAKL8poV4VJS/vugKq150FdZ9zj
         3XNqtRZ2DKoIwtF5e0aBHie/UUjrMJR0fy2is5C49/gwUERAWNumNxHZc+Z7HmY+SAp6
         cdegy5bThsqVuSAwx9058pTsg/JblaDtkVPoBPtz0ud8ERVq75sCPFNBvJhNotLFmEJK
         LUZ0jsSBYpXfWfg9OAn0ANgKdbDp/rL+cbUMmUU6wpkUmMVhmDSeXoYZZzQ9p7pLMepu
         iFcFodEMkMELzpFPb9U3wNVSBmBWxPzSGvw1JgFoRVl1qp7YmI+HkYaPG4QYw2wiPF98
         I6iA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:mime-version:sender:in-reply-to:references:from
         :date:message-id:subject:to:cc:content-transfer-encoding;
        bh=mbTFp9dxtLpOTrQKqMhTksHe1kLbvEiYykMqdUjGWQA=;
        b=DLTvlhIYw6JGOtYpXGKPu2qIIJHQO5HkK0STQqRaEJHHzioBgp5rfb1jkiCAKf+yKJ
         W5HjlAqu6/a5JUPKt3vGT42r79H7l8jV1wanxX/RP5ukj0TaWHnT8bEp0MfUMqzpx3kP
         24OZokzwrKYmRqCoFEBK+NDX1jhe47qwcCrVGfaNC91pyH6Rsg+X+1OVuMO1C5bQ1o2K
         +kkNbLM0NkEaln9XYL+dgGmcgSpdHiC2oTP7Pph4GdGvesQN5l3qO2B7RsvG87YxhQ5c
         HyR7tFMmgiv9Ll6nMHtIEg1Z6YNzsuGY9l9glBUo1iG7T143K46GvhALrH0SO1eWTNLf
         fhxw==
X-Gm-Message-State: AN3rC/7Cs8KBkGYblLeI2QhG+qT+91c4sOhV7JDnL5DC4COhbAti8ksX
	MhId0n0K/ZfZxbULUA4rHII5szO7Eg==
X-Received: by 10.28.182.134 with SMTP id g128mr3352928wmf.22.1492090172879;
 Thu, 13 Apr 2017 06:29:32 -0700 (PDT)
MIME-Version: 1.0
Sender: [email protected]
Received: by 10.28.138.73 with HTTP; Thu, 13 Apr 2017 06:29:02 -0700 (PDT)
In-Reply-To: <[email protected]>
References: <10827973.O9o76ZdvQC@portable2015-bastien> <[email protected]>
 <CAE2SPAbdhQSixHLSvf2XsjWDzcOzVowq8=eRCJW3-G7eX29hzw@mail.gmail.com> <[email protected]>
From: roucaries bastien <[email protected]>
Date: Thu, 13 Apr 2017 15:29:02 +0200
X-Google-Sender-Auth: YvWYX4R9h7oKGvJ-TpMAp6bI-UU
Message-ID: <CAE2SPAb4P8=FR2AFWpCW-g-6xOc=V=9ODgR43Bz2UzNjvo+PUw@mail.gmail.com>
To: Andreas Beckmann <[email protected]>
Cc: [email protected]
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On Thu, Apr 13, 2017 at 12:12 PM, Andreas Beckmann <[email protected]> wrote:
> On 2017-04-13 12:03, roucaries bastien wrote:
>> On Thu, Apr 13, 2017 at 12:02 PM, Andreas Beckmann <[email protected]> wrote:
>>> On 2017-04-13 11:44, 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.
>>>
>>> Do you have a concrete example of a failure you want to debug?
>>
>> Yes here https://piuparts.debian.org/wheezy222testing/bugged/imagemagick-doc_8:6.9.7.4+dfsg-3.log
>
> rerunning it with --shell-on-error (and without timeout prefix) would
> give you a shell in the chroot - would this help?


Yes but without dpkg option it is too late. dpkg tried to recover...
>
>
> Andreas
>

Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 08:27:50 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.