Bug#681962: libgtk2.0-0: removes files that were installed by another package: /etc/gtk-2.0/im-multipress.conf

Andreas Beckmann debian at abeckmann.de
Wed Jul 18 08:39:57 UTC 2012


Package: libgtk2.0-0
Version: 2.24.10-1
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.

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

0m23.1s ERROR: FAIL: After purging files have disappeared:
  /etc/gtk-2.0/	 owned by: libgtk2.0-common
  /etc/gtk-2.0/im-multipress.conf	 owned by: libgtk2.0-common


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libgtk2.0-0_2.24.10-1.log.gz
Type: application/x-gzip
Size: 7871 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20120718/2a0e17ba/attachment.bin>


More information about the pkg-gnome-maintainers mailing list