Bug#825287: lmms-common: removes files that were installed by another package:

Andreas Beckmann anbe at debian.org
Wed May 25 14:22:19 UTC 2016


Package: lmms-common
Version: 1.1.3-2
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
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

This was observed on an upgrade from stretch to sid.

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

1m16.5s ERROR: FAIL: debsums reports modifications inside the chroot:
  debsums: missing file /usr/share/zynaddsubfx/banks/Arpeggios/0001-Arpeggio1.xiz (from zynaddsubfx-data package)
  debsums: missing file /usr/share/zynaddsubfx/banks/Arpeggios/0002-Arpeggio2.xiz (from zynaddsubfx-data package)
  debsums: missing file /usr/share/zynaddsubfx/banks/Arpeggios/0003-Arpeggio3.xiz (from zynaddsubfx-data package)
  debsums: missing file /usr/share/zynaddsubfx/banks/Arpeggios/0004-Arpeggio4.xiz (from zynaddsubfx-data package)
  debsums: missing file /usr/share/zynaddsubfx/banks/Arpeggios/0005-Arpeggio5.xiz (from zynaddsubfx-data package)
[...]
  debsums: missing file /usr/share/zynaddsubfx/banks/the_mysterious_bank_4/0036-organ_not_distorted.xiz (from zynaddsubfx-data package)
  debsums: missing file /usr/share/zynaddsubfx/banks/the_mysterious_bank_4/0037-old_organ.xiz (from zynaddsubfx-data package)
  debsums: missing file /usr/share/zynaddsubfx/banks/the_mysterious_bank_4/0039-jazz_guitar.xiz (from zynaddsubfx-data package)

The preinst script looks very suspicious, you probably want to use
dpkg-maintscript-helper symlink_to_dir/dir_to_symlink instead.
But I didn't dig deeper to see who shipped what in the previous version.


cheers,

Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lmms-common_1.1.3-2.log.gz
Type: application/gzip
Size: 30792 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-edu-pkg-team/attachments/20160525/eb69f8f7/attachment-0001.bin>


More information about the Debian-edu-pkg-team mailing list