Better still — especially when there are updates to packages for your GUI — is to log out of the GUI and run the update process from a tty
. That way you reduce the amount of shared libraries that are still in use while they are being updated and thus overwritten.
See…