syntax error in /etc/profile

/etc/profile is marked as config file though, so rpm will not replace it if it has been modified when updating the package (not even when using “zypper dup”… :wink: ).
So check whether you have an /etc/profile.rpmnew file and rename that to /etc/profile.

Or delete your /etc/profile and force a reinstallation of aaa_base to get the original file.

zypper in -f aaa_base