Bug#25759: dpkg: overwrites "alternatives" symlinks without warning
Package: dpkg
Version: 1.4.0.24
Severity: wishlist
Let's say /usr/bin/java is a symlink to /etc/alternatives/java.
Now I install a (badly made) package that includes /usr/bin/java as a
regular file.
I was glad to see that the new file didn't overwrite the ultimate
destination of the existing symlink, but I think that there ought to be
a warning that the symlink is being removed, if not an actual error.
Btw, `update-alternatives' still behaves reasonably well (laudably well,
actually), despite /usr/bin/java now being a regular file.
Just a wishlist item,
pjm.
Reply to: