New comment by Duncaen on void-packages repository https://github.com/void-linux/void-packages/issues/31678#issuecomment-869820069 Comment: > I was thinking of making that folder part of the xbps-alternatives, so it stays consistent for everything? With configuration files if they are changed xbps won't delete the configuration file and therefor won't be able to delete the directory. xbps would not error out because it currently does not take alternatives into account for file checks. If xbps it would also add alternatives to the file checks, it would simply error out saying that the "type" of `/etc/php` changed from directory to symlink, but it is not able to delete the directory because it contains files not removed by any package in the transaction.