Installed Teamviewer using a 64-bit system, but I get a dependency error

I was trying to install Teamviewer, but I was getting a dependency error. I tried to install the required packages, but with no luck.

I'm getting this error:

Unpacking teamviewer (from teamviewer_linux_x64.deb) ...
dpkg: dependency problems prevent configuration of teamviewer:
 teamviewer depends on lib32asound2; however:
  Package lib32asound2 is not installed.
 teamviewer depends on lib32z1; however:
  Package lib32z1 is not installed.
 teamviewer depends on ia32-libs; however:
  Package ia32-libs is not installed.

dpkg: error processing teamviewer (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 teamviewer

I tried

sudo apt-get -f install

Getting

Package ia32-libs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  lib32z1 lib32ncurses5 lib32bz2-1.0

Package lib32asound2 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lib32asound2' has no installation candidate
E: Package 'ia32-libs' has no installation candidate

I can't even get to the

sudo dpkg -i teamviewer_linux_x64.deb

If I force installation

sudo dpkg --force-depends -i teamviewer_linux_x64.deb

Although it's "Setting up Temviewer" it gives me this:

Enter image description here

How can I fix this problem?


The problem is that the teamviewer_linux_x64.deb, the package that was aimed to 64-bit systems, uses a obsolete package that tried to achieve multiarch previously in Debian based systems called ia64-libs. Although, that package scheme changed and now Teamviewer distribute the native build for both i386 and amd64 architecture, as they don't need anymore multiarch.

Simply downloading the appropriated package for Debian/Ubuntu and installing it using your favorite method, should be enough. This package also installs a repository, so it should also automatically upgrade itself when you upgrade your system.


All I had to do to amend this problem was do dpkg --force-all -i *.deb to install that package. Note that the only dependency it couldn't resolve was libpng12-0, so after forcing the install it has no images in the interface but it is still runnable. The other solutions did not solve the problem for me. I'm hoping the Teamviewer developers will get to this soon.