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)                              [cjwat...@debian.org]

Reply via email to