Package: groonga-server-common
Version: 4.0.6.1-2
Severity: serious
User: [email protected]
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package removes files that
were installed by another package.
The removed files were already present before the package was installed,
they may have been shipped or created by a dependency.

This could be a violation of policy 10.7.4 ("Sharing configuration
files"), see
https://www.debian.org/doc/debian-policy/ch-files.html#s10.7.4
or policy chapter 6 ("Package maintainer scripts..."), see
https://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
or policy 7.6 ("Overwriting files..."), see
https://www.debian.org/doc/debian-policy/ch-relationships.html#s-replaces

If a directory is used by several packages, all should ship it as part
of the package (possibly empty, using $package.dirs to create it), and
no package should mkdir/rmdir it in the maintainer scripts as dpkg will
take care of this.

>From the attached log (scroll to the bottom...):

  Removing groonga-server-common (4.0.6.1-2) ...
  Purging configuration files for groonga-server-common (4.0.6.1-2) ...
0m24.4s ERROR: FAIL: debsums reports modifications inside the chroot:
  debsums: missing file /etc/groonga/groonga.conf (from groonga-bin package)
  debsums: missing file /etc/groonga/synonyms.tsv (from libgroonga0:amd64 
package)


I didn't check, but there is probably a rm -rf /etc/groonga in the postrm.


cheers,

Andreas

Attachment: groonga-server-common_4.0.6.1-2.log.gz
Description: application/gzip

Reply via email to