Ubuntu uses aptitude and will prompt you when there are conflicting files and creates .dpkg-new for diffing: https://raphaelhertzog.com/2010/09/21/debian-conffile-config...
Arch (pacman) creates .pacnew files for diffing later.
RPM creates .rpmnew files, not sure if you're prompted or not at the time of updating.