On another thread in the past few days there was a conversation about broken links and how to remove them.
I ran the command to locate them and found the same “Too many levels of symbolic links.” in the output. What I found was that somehow a link had been created that pointed back to itself thus an endless loop.
These 2 commands will find and display the link with the first one and delete it with the second.
find / -type l -print
find / -type l -delete
You would want to change the start location for your needs and be careful in what you actually delete because some of those might be something you want to keep.
The link I found and deleted was like this and as you see it is a circular reference and gave that error.
lrwxrwxrwx. 1 user user 6 Feb 9 09:54 .gnupg -> .gnupg
I think possibly if you are in the emergency shell, or are booted to the live usb, that this might find that broken link and help to fix it.