Hi,

Quoting jo...@debian.org (2023-05-10 07:49:26)
> To work around this problem, at least 125 source packages [codesearch] simply
> ignore failures of calling the passwd or adduser tools during purge. The
> following patch should fix this package by doing the same:
> 
> --%<-------------------------------------------------------------------------
> diff -Nru matrix-sydent-2.5.1/debian/postrm matrix-sydent-2.5.1/debian/postrm
> --- matrix-sydent-2.5.1/debian/postrm   2021-06-01 21:17:05.000000000 +0200
> +++ matrix-sydent-2.5.1/debian/postrm   2023-05-10 07:46:13.000000000 +0200
> @@ -25,7 +25,7 @@
>                 dpkg-statoverride --force-all --quiet --remove "${DIR}"
>         done
>  
> -       getent passwd "${USER}" >/dev/null && deluser "${USER}"
> +       getent passwd "${USER}" >/dev/null && deluser "${USER}" || true
>  
>         rm -f /var/lib/${NAME}/*
>         if [ -d /var/lib/${NAME} ]; then
> -->%-------------------------------------------------------------------------
> 
> If you prefer I can fix this via an NMU.

since time is running short, I am going to NMU matrix-sydent on Thursday with a
delay of 2 days unless you disagree and/or want to do this yourself.

Thanks!

cheers, josch

Attachment: signature.asc
Description: signature

Reply via email to