[Pkg-clamav-devel] Bug#681960: Bug#681960: clamav-freshclam: removes directories that were installed by another package: /var/{lib, log}/clamav/

Scott Kitterman debian at kitterman.com
Wed Jul 18 12:54:08 UTC 2012


On Wednesday, July 18, 2012 10:30:57 AM Andreas Beckmann wrote:
> Package: clamav-freshclam
> Version: 0.97.5+dfsg-3
> Severity: serious
> User: debian-qa at 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.

Confirmed both the problem and the suggested fix.  Will take care of this soon.

Scott K
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-clamav-devel/attachments/20120718/5d5e19f6/attachment.pgp>


More information about the Pkg-clamav-devel mailing list