it says some of the packages could not be retrieved from the server , ignor? or not?
Ignore it and see if Teamviewer works. But some of those should be dependencies, so probably it won't work. Nothing like trying. You can always go back later and try to fix broken packages.One question, did you update the packages list when you opened Synaptic? can't remember if it does it by it's own or not.Just searched, and you need to press the "Reload" button on Synaptic for it to download updated package lists.
Then you can install Teamviewer, after the package information is current.