Steven Verhulst <sverhu...@vub.be> wrote on 06/10/2023 at 13:16:09+0200:

> Hi,
>
>  
>
> /etc/mysql/debian.cnf is a config file auto generated by some debian scripts.
>
> It contains host / user information for mysql connection.
>
> According to the contents this file is deprecated and should no longer be 
> used:
>
>  
>
> # THIS FILE IS OBSOLETE. STOP USING IT IF POSSIBLE.
>
> # This file exists only for backwards compatibility for
>
> # tools that run '--defaults-file=/etc/mysql/debian.cnf'
>
> # and have root level access to the local filesystem.
>
> # With those permissions one can run 'mariadb' directly
>
> # anyway thanks to unix socket authentication and hence
>
> # this file is useless. See package README for more info.
>
> # THIS FILE WILL BE REMOVED IN A FUTURE DEBIAN RELEASE.
>
>  
>
>  
>
> “sed: -e expression #2, char 82: unterminated `s' command”
>
> Makes me believe that there is an issue with with one the sed expression in 
> the post-installation script. 
>
>  
>
> Kind regards,
>
>  
>
> Steven Verhulst
>
>  
>
>  
>
> On 05/10/2023, 16:23, "Pierre-Elliott Bécue" <p...@debian.org> wrote:
>
> tags 1053502 +moreinfo
>
> thanks
>
>  
>
> Hi,
>
>  
>
> Steven Verhulst <sverhu...@vub.be> wrote on 05/10/2023 at 10:37:05+0200:
>
>  
>
>> Package: mailman3-web
>
>> Version: 0+20200530-2.1
>
>> Severity: important
>
>>
>
>  
>
>> Dear Maintainer,
>
>>
>
>  
>
>> When we upgraded our test mailingserver from Debian 11 to 12 we
>
>> noticed the following error:
>
>>
>
>  
>
>> Setting up mailman3-web (0+20200530-2.1) ...
>
>> Determining localhost credentials from /etc/mysql/debian.cnf: failed (hosts 
>> not equal).
>
>> dbconfig-common: writing config to /etc/dbconfig-common/mailman3-web.conf
>
>> dbconfig-common: flushing administrative password
>
>> sed: -e expression #2, char 82: unterminated `s' command
>
>> dpkg: error processing package mailman3-web (--configure):
>
>> installed mailman3-web package post-installation script subprocess returned 
>> error exit status 1
>
>>
>
>  
>
>> From what I understand there seems to be an issue with the
>
>> post-installation script.
>
>>
>
>  
>
>> Since the post-installation script did not run it left us with a
>
>> broken listserver.  Further it is not possible to use APT to update
>
>> packages as it keep warning about mailman3-web package being broken.
>
>  
>
> When I read
>
>  
>
>> Determining localhost credentials from /etc/mysql/debian.cnf: failed (hosts 
>> not equal).
>
>> dbconfig-common: writing config to /etc/dbconfig-common/mailman3-web.conf
>
>> dbconfig-common: flushing administrative password
>
>  
>
> I tend to think some weird stuff happened on your host.
>
>  
>
> But to try understanding further the issue, could you please give me
>
> some hints about what this file contains?

Reply via email to