That won't repair partially broken upgrades, and while you are at it, you could just as well fix it properly. If a symlink changes to be a real directory on upgrade, you need to remove the symlink in the preinst before upgrade. That isn't hard to do, and will be much more robust.
That won't repair partially broken upgrades, and while you are at it, you could just as well fix it properly. If a symlink changes to be a real directory on upgrade, you need to remove the symlink in the preinst before upgrade. That isn't hard to do, and will be much more robust.