If you have problems installing Teamviewer please please run an update before installing Teamviewer.
1. Open the terminal
2. command: apt-get update
3. once the update is done please try to install
The best way to install Teamviewer is to download the .deb file from the Teamviewer website, please take the x64 version.
Once downloaded, update the software first as shown above, then just double click the .deb file.
It should work straight forward.
If you still have problems installing Teamviewer, please contact email@example.com or submit a ticket.