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
sudo apt-get -f install
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:
How can I fix this problem?
Here is Solutions:
We have many solutions to this problem, But we recommend you to use the first solution because it is tested & true solution that will 100% work for you.
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.
To install on Ubuntu 20.04 x64, from https://linuxconfig.org/how-to-install-teamviewer-on-ubuntu-20-04-focal-fossa-linux:
sudo apt update sudo apt install gdebi-core wget wget -O ~/teamviewer.deb "https://download.teamviewer.com/download/linux/teamviewer_amd64.deb" sudo gdebi ~/teamviewer.deb teamviewer
You need to install all dependency libraries for i386 (this might work with 64 too) as described above.
For the missing libpng12 library just go to: https://packages.debian.org/jessie/i386/libpng12-0/download
and install with
sudo dpkg -i ~/Downloads/libpng12-0_1.2.50-2+deb8u3_i386.deb
it has no dependencies which wouldn’t be resolved by current environemnt:
dep: libc6 (>= 2.14), zlib1g (>= 1:1.1.4)
With Teamviewer 15 on Ubuntu 20.04:
Download and install with
sudo dpkg -i teamviewer_15.16.8_amd64.deb # adapt to your downloaded file name
This will show dependency errors, but all you have to do to fix them is
sudo apt --fix-broken install
TeamViewer for Linux
TeamViewer 14.0 is out for Linux and it’s no longer based on Wine. TeamViewer 14.0 features native 64-bit support and a Qt front-end. .deb packages for TeamViewer 14.0 for Linux are available from the official TeamViewer website.
On Ubuntu 17.10 some features of TeamViewer require Xorg to be selected instead of the default Wayland at the login screen. In Wayland only outgoing remote control and incoming file transfer are supported. If you need incoming remote control you have to login to classic Xorg. In order to enter an X session from the GDM login screen select Ubuntu on Xorg.
Note: Use and implement solution 1 because this method fully tested our system.
Thank you 🙂