[Pkg-mailman-hackers] Bug#1040742: mailman3: Unable to 'dpkg-reconfigure' with MySQL after failed attempt
Isaac Bennetch
bennetch at gmail.com
Sun Jul 9 23:16:27 BST 2023
Package: mailman3
Version: 3.3.3-1
Severity: normal
Dear Maintainer,
* What led up to the situation?
I am attempting to use Mysql as the database backend. I ran `dpkg-reconfigure mailman3` as directed in README.Debian, but encountered an error because it couldn't reach my MySQL instance. I was able to 'abort' which brought me to a shell. I corrected the database problem and tried to `dpkg-configure mailman3` again, but it only stated "Determining localhost credentials from /etc/mysql/debian.cnf: succeeded." without asking any more prompts or finishing the configuration. Even if I use -plow I cannot force it to run the reconfiguration, to even ask whether I want to use SQLite or MySQL much less configure them properly.
* What exactly did you do (or not do) that was effective (or
ineffective)?
As mostly explained above, I used `dpkg-reconfigure mailman3` and `dpkg-reconfigure -plow mailman3`.
* What was the outcome of this action?
The package was not proper reconfigured.
* What outcome did you expect instead?
Prompts about which database to use and how to configure it, including prompting me for the password.
-- System Information:
Debian Release: 11.7
APT prefers oldstable-updates
APT policy: (500, 'oldstable-updates'), (500, 'oldstable-security'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-23-amd64 (SMP w/2 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages mailman3 depends on:
ii dbconfig-mysql 2.0.19
ii dbconfig-sqlite3 2.0.19
ii debconf [debconf-2.0] 1.5.77
ii init-system-helpers 1.60
ii logrotate 3.18.0-2+deb11u1
ii lsb-base 11.1.0
ii python3 3.9.2-3
ii python3-aiosmtpd 1.2.2-1
ii python3-alembic 1.4.3-1
ii python3-authheaders 0.13.1-1
ii python3-authres 1.2.0-2
ii python3-click 7.1.2-1
ii python3-dateutil 2.8.1-6
ii python3-dnspython 2.0.0-1
ii python3-falcon 2.0.0-2+b1
ii python3-flufl.bounce 3.0.1-1
ii python3-flufl.i18n 3.0.1-1
ii python3-flufl.lock 5.0.1-1
ii python3-gunicorn 20.1.0-1
ii python3-importlib-resources 5.1.0-1
ii python3-lazr.config 2.2.3-1
ii python3-passlib 1.7.4-1
ii python3-psycopg2 2.8.6-2
ii python3-public 0.5-1.1
ii python3-requests 2.25.1+dfsg-2
ii python3-sqlalchemy 1.3.22+ds1-1
ii python3-zope.component 4.3.0-3
ii python3-zope.configuration 4.4.0-1
ii python3-zope.event 4.4-3
ii python3-zope.interface 5.2.0-1
ii ucf 3.0043
Versions of packages mailman3 recommends:
ii exim4-daemon-heavy [mail-transport-agent] 4.94.2-7
Versions of packages mailman3 suggests:
pn mailman3-doc <none>
ii mariadb-server-10.5 [virtual-mysql-server] 1:10.5.19-0+deb11u2
ii w3m [www-browser] 0.5.3+git20210102-6+deb11u1
-- debconf information:
mailman3/password-confirm: (password omitted)
mailman3/app-password-confirm: (password omitted)
* mailman3/db/basepath: /var/lib/mailman3/data
mailman3/upgrade-error: abort
* mailman3/db/dbname: mailman.db
mailman3/init_service_failed:
mailman3/install-error: abort
mailman3/purge: false
mailman3/missing-db-package-error: abort
mailman3/internal/skip-preseed: false
mailman3/dbconfig-reinstall: false
mailman3/dbconfig-upgrade: true
mailman3/dbconfig-remove: true
* mailman3/config_hyperkitty: true
mailman3/passwords-do-not-match:
mailman3/remove-error: abort
* mailman3/dbconfig-install: true
mailman3/upgrade-backup: true
mailman3/internal/reconfiguring: false
* mailman3/database-type: sqlite3
More information about the Pkg-mailman-hackers
mailing list