• Bug#1108946: pnopaste: fails to install with debconf noninteractive fro

    From Lucas Nussbaum@21:1/5 to All on Tue Jul 8 13:50:01 2025
    Package: pnopaste
    Version: 1.8-3.1
    Severity: serious

    It results in a loop of:

    --------------------------->8
    Password mismatch

    The password and its confirmation do not match.

    Password mismatch

    The password and its confirmation do not match.
    --------------------------->8

    The behaviour is also strange when not using the noninteractive
    frontend: it asks for a "password confirmation" but did not ask for the password before (so it's not really a confirmation).

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Lucas Nussbaum@21:1/5 to All on Thu Jul 17 14:10:02 2025
    Control: affects 1108946 pnopaste

    On 17/07/25 at 08:53 +0200, Patrick Matthäi wrote:
    reassign #1108946 dbconfig-common
    thanks

    Am 08.07.2025 um 13:40 schrieb Lucas Nussbaum:
    Package: pnopaste
    Version: 1.8-3.1
    Severity: serious

    It results in a loop of:

    --------------------------->8
    Password mismatch

    The password and its confirmation do not match.

    Password mismatch

    The password and its confirmation do not match. --------------------------->8

    The behaviour is also strange when not using the noninteractive
    frontend: it asks for a "password confirmation" but did not ask for the password before (so it's not really a confirmation).

    Lucas

    Hello folks,

    IMHO the dbconfig setup in pnopaste looks fine and is simple. Is this maybe
    a problem with dbconfig itself?

    There could be of course, but I strongly doubt it: pnopaste is the only
    package with this failure pattern

    Lucas

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Colin Watson@21:1/5 to Lucas Nussbaum on Fri Jul 18 01:20:01 2025
    Control: reassign -1 pnopaste

    On Thu, Jul 17, 2025 at 09:14:45AM +0200, Lucas Nussbaum wrote:
    On 17/07/25 at 08:53 +0200, Patrick Matthäi wrote:
    Am 08.07.2025 um 13:40 schrieb Lucas Nussbaum:
    It results in a loop of:

    --------------------------->8
    Password mismatch

    The password and its confirmation do not match.

    Password mismatch

    The password and its confirmation do not match.
    --------------------------->8

    The behaviour is also strange when not using the noninteractive
    frontend: it asks for a "password confirmation" but did not ask for the
    password before (so it's not really a confirmation).

    IMHO the dbconfig setup in pnopaste looks fine and is simple. Is this maybe >> a problem with dbconfig itself?

    There could be of course, but I strongly doubt it: pnopaste is the only >package with this failure pattern

    Yeah, I'm not convinced that this is a dbconfig-common bug. https://www.debian.org/doc/manuals/dbconfig-common/ch-develguide.html#s-depends suggests that pnopaste's dependencies aren't quite right, and this patch
    seems to fix it:

    diff --git a/debian/control b/debian/control
    index fdc9644..d310b5a 100644
    --- a/debian/control
    +++ b/debian/control
    @@ -11,7 +11,7 @@ Package: pnopaste
    Architecture: all
    Depends: ${misc:Depends},
    ${perl:Depends},
    - dbconfig-common,
    + dbconfig-mysql | dbconfig-no-thanks,
    libcgi-pm-perl,
    libsyntax-highlight-engine-kate-perl,
    libgeo-ip-perl

    (This matches the setting of dbc_dbtypes in debian/pnopaste.config.
    There might be other possible fixes involving setting some more dbc_* variables, but this seemed like the simplest approach.)

    --
    Colin Watson (he/him) [cjwatson@debian.org]

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Fri Jul 18 09:30:02 2025
    This is a multi-part message in MIME format...

    Your message dated Fri, 18 Jul 2025 07:18:58 +0000
    with message-id <E1ucfMw-007wm7-2c@fasolo.debian.org>
    and subject line Bug#1108946: fixed in pnopaste 1.8-4
    has caused the Debian Bug report #1108946,
    regarding pnopaste: fails to install with debconf noninteractive frontend
    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 this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1108946: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1108946
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 8 Jul 2025 11:40:58 +0000 X-Spam-Checker-Version: SpamAssassin 4.0.1-bugs.debian.org_2005_01_02
    (2024-03-25) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-116.2 required=4.0 tests=BAYES_00,
    BODY_INCLUDES_PACKAGE,DKIMWL_WL_HIGH,DKIM_SIGNED,DKIM_VALID,
    DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,HAS_PACKAGE,SPF_HELO_NONE,
    SPF_NONE,UNPARSEABLE_RELAY,USER_IN_DKIM_WELCOMELIST autolearn=ham
    autolearn_force=no version=4.0.1-bugs.debian.org_2005_01_02 X-Spam-Bayes: score:0.0000 Tokens: new, 8; hammy, 85; neutral, 24; spammy, 0.
    spammytokens: hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian.org ([2001:41b8:202:deb::311:108]