After upgrade unable to login to session

This is not a fix for everything.
But if you want to reinstall all the standard packages you can use mapare;

bash <(curl -s https://gitlab.com/cscs/mapare/-/raw/main/mapare) -IA

And type xfce at the prompt.

When it comes to handling pacnews … here is my suggestion:

Continuing the discussion from Why is the community repo missing?: