Bug#775150: libreoffice-core: removal of libreoffice-core makes directories disappear from libreoffice-common
Package: libreoffice-core
Version: 1:4.3.3-2
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts
Control: affects -1 + libreoffice-common
Hi,
during a test with piuparts and DOSE tools I noticed your package causes
removal of files that also belong to another package.
The installation sequence to reproduce this problem is
apt-get install libreoffice-common
# (1)
apt-get install libreoffice-core
apt-get remove libreoffice-core
# (2)
The list of installed files at points (1) and (2) should be identical,
but the following files have disappeared:
0m58.4s ERROR: FAIL: After purging files have disappeared:
/var/spool/libreoffice/ owned by: libreoffice-common
/var/spool/libreoffice/uno_packages/ owned by: libreoffice-common
/var/spool/libreoffice/uno_packages/cache/ owned by: libreoffice-common
This is caused by libreoffice-core.postrm which does
if [ "$1" = "remove" ]; then
rm -rf /var/spool/libreoffice
fi
cheers,
Andreas
Reply to: