Snap error: Unable to install due to Fonts

Solution 1:

So I managed to solve the issue. Here's how I did it:

Move fonts to a temp folder

sudo mv /etc/fonts/ /etc/fonts.bak

Reset the desktop:

dconf reset -f /

Reset permissions of existing fonts in shared folder:

find /usr/share/fonts -type f -exec sudo chmod 644 {} \;

Reset permissions of existing fonts in user folder:

find ~/.fonts -type f -exec sudo chmod 644 {} \;

Move fonts back to original folder:

sudo mv /etc/fonts.bak/ /etc/fonts

Reset font cache

sudo fc-cache -r -v

Downside is that by resetting the desktop you will have to start over with any customization you have made there. Also, I'm by no means an expert but the above worked for me so I thought to share it..