Bug#668400: /usr/bin/apt-get: Apt-get purge/remove delete file behind symlink

Emmanuel Bourg ebourg at apache.org
Wed Feb 25 11:06:27 UTC 2015


I tried to reproduce this issue with the following sequence in unstable:

1. apt-get install tomcat7
2. touch /opt/file1
3. ln -s /opt/file1 /etc/tomcat7/file1
4. apt-get remove tomcat7
5. apt-get purge tomcat7

The link was the last remaining element in /etc/tomcat7 and the
/opt/file1 hasn't been removed.

Rafal, could you try again with the version of tomcat7 from testing or
wheezy-backports please? If the issue is still there please detail the
steps to reproduce it and I'll look into it.

Thank you,

Emmanuel Bourg



More information about the pkg-java-maintainers mailing list