When installing MySQL workbench on Linux if you get this error below it is most probably due to a previous version of MySQL workbench still have some data on your PC.
trying to overwrite '/usr/share/mysql-workbench/shell_snippets.py.txt'
To fix make sure MySQL workbench is removed and also make sure the package "mysql-workbench-data" is removed