[Pkg-mailman-hackers] Bug#1070407: mailman3-web: dpkg --configure mailman3-web fails

Thomas Krichel krichel at openlib.org
Thu Jun 27 16:17:02 BST 2024


  Pierre-Elliott Bécue wrote May 30:

> I'm working on a test environment to try reproducing your issue.

  If this is not successful, why not give me a public key and I give
  you root access to the server. I have nothing to hide there.

> Will try to update you soon.
>
> Thanks for the report.

  Sorry, I only saw this now. I am now on the mailing list. I have
  tried to fiddle with this myself in the meantime. No joy. Now the
  issue has come up again with the new version of mailman3 3.3.8-3.2
  you released. At this time

| root at tagol/var/lib/dpkg/info# apt -y upgrade
| Not upgrading:                  
|   systemd-sysv
| 
| Summary:
|   Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 1
|   2 not fully installed or removed.
|   Space needed: 0 B / 11.2 TB available
| 
| Setting up mailman3-web (0+20240312-1) ...
| dpkg: error processing package mailman3-web (--configure):
|  installed mailman3-web package post-installation script subprocess returned error exit status 20
| dpkg: dependency problems prevent configuration of mailman3-full:
|  mailman3-full depends on mailman3-web; however:
|   Package mailman3-web is not configured yet.
| 
| dpkg: error processing package mailman3-full (--configure):
|  dependency problems - leaving unconfigured
| Errors were encountered while processing:
|  mailman3-web
|  mailman3-full
| Error: Sub-process /usr/bin/dpkg returned an error code (1)

  Thus now mailman3-full stops configuring as well. At this time
  
| root at tagol/var/lib/dpkg/info# ./mailman3-web.postinst configure
| root at tagol/var/lib/dpkg/info#

  so seems to work but
  
| root at tagol/var/lib/dpkg/info# ./mailman3.postinst configure
| dpkg: error: version '2.3.2-2
| 1:2.0.34-1+b1
| 3.137
| 46.0-1
| 1.7+git20191031.4036a9c-2
| 1.2.11-1.1

  ... many similar lines deleted ...

| 2:9.1.0496-1+b1
| 3.0-13
| 1:1.3.dfsg+really1.3.1-1
| 1:1.3.dfsg+really1.3.1-1' has bad syntax: epoch in version is not number
| /usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
| /usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
| /usr/bin/deb-systemd-helper was not called from dpkg. Exiting.
| root at tagol/var/lib/dpkg/info# 

  Thus I am suspicious of

    version="$(dpkg -s $DPKG_MAINTSCRIPT_PACKAGE | sed -n 's/^Version: //p')"
    if dpkg --compare-versions "$version" le "3.1.1-7"; then
        ucfr --force mailman3 /etc/mailman3/mailman.cfg
    fi

  but commenting this out seems not to yield anything different.

  Thank you for bearing with me! 

-- 
  Written by Thomas Krichel http://openlib.org/home/krichel on his 21573rd day.



More information about the Pkg-mailman-hackers mailing list