Package: openvas-plugins-dfsg
Version: 1:20100705-2
Severity: serious
User: debian...@lists.debian.org
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
http://www.debian.org/doc/debian-policy/ch-files.html#s10.7.4
or policy chapter 6 ("Package maintainer scripts..."), see
http://www.debian.org/doc/debian-policy/ch-maintainerscripts.html
or policy 7.6 ("Overwriting files..."), see
http://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...):

0m35.6s ERROR: FAIL: After purging files have disappeared:
  /var/lib/openvas/plugins/      owned by: openvas-plugins-dfsg, 
openvas-plugins-base
  /var/lib/openvas/plugins/find_service.nes -> 
/usr/lib/openvas/plugins/find_service.nes         owned by: openvas-plugins-base
  /var/lib/openvas/plugins/openvas_tcp_scanner.nes -> 
/usr/lib/openvas/plugins/openvas_tcp_scanner.nes   owned by: 
openvas-plugins-base
  /var/lib/openvas/plugins/ssl_ciphers.nes -> 
/usr/lib/openvas/plugins/ssl_ciphers.nes   owned by: openvas-plugins-base
  /var/lib/openvas/plugins/synscan.nes -> /usr/lib/openvas/plugins/synscan.nes  
 owned by: openvas-plugins-base


cheers,

Andreas

Attachment: openvas-plugins-dfsg_1:20100705-2.log.gz
Description: GNU Zip compressed data

Reply via email to