Bug#914223: solr-jetty: doesn't remove records from statoverride after purge

Markus Koschany apo at debian.org
Fri Feb 15 09:44:14 GMT 2019


Control: tags -1 pending

On Tue, 20 Nov 2018 21:11:14 +0300 sergio <sergio+it at outerface.net> wrote:
> Package: solr-jetty
> Version: 3.6.2+dfsg-10+deb9u2
> Severity: serious
> Justification: Policy 10.9
> 
> solr-jetty was installed and purged from host. I'm not able to
> dist-upgrade more:
> 
> dpkg: unrecoverable fatal error, aborting:
>  unknown user 'jetty' in statoverride file
> 
> 
> % dpkg -l | grep solr
> % dpkg -l | grep jett
> %

I believe this is caused by insufficient postrm scripts.

dpkg-statoverride --quiet --remove /var/lib/solr

and

dpkg-statoverride --quiet --remove /var/lib/solr/data

are only called when solr-jetty is removed but not on purge. The purge
command must be handled as well.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-java-maintainers/attachments/20190215/94038fd2/attachment.sig>


More information about the pkg-java-maintainers mailing list