When an Emacs process is running and an upgrade to the next version happens in the background, the ruinning emacs loses its libraries. This could be avoided the way gnumeric does: by warning the user that a running Emacs process exists. Or by leaving the old libraries around to be removed manually, as the kernel does.