This seems to work fine: [EMAIL PROTECTED]:~$ sudo touch /var/www/mrtg/should_block_delete [EMAIL PROTECTED]:~$ sudo apt-get remove --purge mrtg Reading package lists... Done Building dependency tree Reading state information... Done The following packages will be REMOVED mrtg* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. 2 not fully installed or removed. After this operation, 1339kB disk space will be freed. Do you want to continue [Y/n]? y (Reading database ... 137857 files and directories currently installed.) Removing mrtg ... Purging configuration files for mrtg ... dpkg - warning: while removing mrtg, directory `/var/www/mrtg' not empty so not removed. dpkg - warning: while removing mrtg, directory `/var/www' not empty so not removed.
** Attachment added: "mrtg_2.14.7-2ubuntu3.debdiff" http://launchpadlibrarian.net/12091859/mrtg_2.14.7-2ubuntu3.debdiff ** Changed in: mrtg (Ubuntu) Assignee: Iain Lane (laney) => (unassigned) Status: In Progress => Confirmed -- Purging MRTG removes data from /var/www/mrtg https://bugs.launchpad.net/bugs/162426 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs