Help Installing TeamViewer 12 in debian 9 linux

Hi,
Newbie here.  I'm trying to install teamview 12 in my debian 9 linux on an old laptop. 
I downloaded the package teamview_12xxx_i386.deb

I did (as root):

root@debian:/home/will/Downloads# apt install teamviewer_12.0.85001_i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package teamviewer_12.0.85001_i386.deb
E: Couldn't find any package by glob 'teamviewer_12.0.85001_i386.deb'
E: Couldn't find any package by regex 'teamviewer_12.0.85001_i386.deb'
root@debian:/home/will/Downloads# apt install ./teamviewer_12.0.85001_i386.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'teamviewer:i386' instead of './teamviewer_12.0.85001_i386.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
teamviewer:i386 : Depends: libc6:i386 (>= 2.11) but it is not installable
Depends: libgcc1:i386 but it is not installable
Depends: libasound2:i386 but it is not installable
Depends: libdbus-1-3:i386 but it is not installable
Depends: libexpat1:i386 but it is not installable
Depends: libfontconfig1:i386 but it is not installable
Depends: libfreetype6:i386 but it is not installable
Depends: libjpeg62:i386 but it is not installable
Depends: libsm6:i386 but it is not installable
Depends: libxdamage1:i386 but it is not installable
Depends: libxext6:i386 but it is not installable
Depends: libxfixes3:i386 but it is not installable
Depends: libxinerama1:i386 but it is not installable
Depends: libxrandr2:i386 but it is not installable
Depends: libxrender1:i386 but it is not installable
Depends: libxtst6:i386 but it is not installable
Depends: zlib1g:i386 but it is not installable
E: Unable to correct problems, you have held broken packages.

I then did an

Code: [Select]
apt-get install -f

but that didn't help.

root@debian:/home/will/Downloads# apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

  Any suggestions?

Regards, Will

Best Answer

Answers

  • mmiat
    mmiat Posts: 13

    use gdebi, it installs all you need

  • Thanks.  I used gdebi and it looked like it was working, until I got this error:

    ...
    Setting up libxext6:i386 (2:1.3.3-1+b2) ...
    Setting up libxfixes3:i386 (1:5.0.3-1) ...
    Setting up libxrandr2:i386 (2:1.5.1-1) ...
    Setting up libxi6:i386 (2:1.7.9-1) ...
    Setting up libxinerama1:i386 (2:1.1.3-1+b3) ...
    Setting up libxdamage1:i386 (1:1.1.4-2+b3) ...
    Setting up libxtst6:i386 (2:1.2.3-1) ...
    Processing triggers for libc-bin (2.24-11+deb9u1) ...
    Selecting previously unselected package teamviewer:i386.
    (Reading database ... 167308 files and directories currently installed.)
    Preparing to unpack teamviewer_12.0.85001_i386.deb ...
    Unpacking teamviewer:i386 (12.0.85001) ...
    dpkg: dependency problems prevent configuration of teamviewer:i386:
    teamviewer:i386 depends on libjpeg62.

    dpkg: error processing package teamviewer:i386 (--install):
    dependency problems - leaving unconfigured
    Processing triggers for desktop-file-utils (0.23-1) ...
    Processing triggers for mime-support (3.60) ...
    Processing triggers for hicolor-icon-theme (0.15-1) ...
    Errors were encountered while processing:
    teamviewer:i386
    root@debian:/home/will/Downloads#

    Any idea how to get past the "libjpeg62" dependency error?

  • Update:  Someone suggested I try:

    sudo apt-get install libpng12-0

    because the package name 'libpng12-0:i386' did not work.  I tried the above, and I got:

    root@debian:/home/will/Downloads# gdebi libpng12-0_1.2.50-2+deb8u3_amd64.deb 
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading state information... Done
    This package is not able to be installed
    Failed to satisfy all dependencies (broken cache)

    it looks like libpng12-0 requires some dependencies.  Do you know what I could try to fix the libpng12-0 dependency?

     

  • mmiat
    mmiat Posts: 13

    i've found this package: https://packages.debian.org/stretch/libjpeg62-turbo
    maybe it can help you
    libpng is from debian8, i think it's a problem to install it

  • Thanks mmiat.  I'm going crazy.  I tried installing libjpeg... and here's the error I got.

    root@debian:/home/will/Downloads# gdebi libjpeg62-turbo_1.5.1-2_amd64.deb 
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading state information... Done
    This package is not able to be installed
    Failed to satisfy all dependencies (broken cache)

    Any suggestions?  I don't know why this is happening.  debian is supposed to be extremely stable.

  • mmiat
    mmiat Posts: 13

    retry "apt-get -f install" to check everything is ok

  • Thanks mmiat!  It worked!!!  I don't know how you figured that all out, but Teamviewer is now running!  

    My steps were:

    apt-get -f install
    gdebi libjpeg62-turbo_1.5.1-2_amd64.deb 
    gdebi libpng12-0_1.2.50-2+deb8u3_amd64.deb 
    gdebi teamviewer_12.0.85001_i386.deb

    And in more detail, here is the whole installation from the terminal:

    root@debian:/home/will/Downloads# apt-get -f install
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Correcting dependencies... Done
    The following additional packages will be installed:
    libjpeg62-turbo:i386
    The following NEW packages will be installed:
    libjpeg62-turbo:i386
    0 upgraded, 1 newly installed, 0 to remove and 104 not upgraded.
    1 not fully installed or removed.
    Need to get 141 kB of archives.
    After this operation, 513 kB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 http://ftp.au.debian.org/debian stretch/main i386 libjpeg62-turbo i386 1:1.5.1-2 [141 kB]
    Fetched 141 kB in 0s (325 kB/s)
    Selecting previously unselected package libjpeg62-turbo:i386.
    (Reading database ... 167606 files and directories currently installed.)
    Preparing to unpack .../libjpeg62-turbo_1%3a1.5.1-2_i386.deb ...
    Unpacking libjpeg62-turbo:i386 (1:1.5.1-2) ...
    Setting up libjpeg62-turbo:i386 (1:1.5.1-2) ...
    Processing triggers for libc-bin (2.24-11+deb9u1) ...
    Setting up teamviewer:i386 (12.0.85001) ...
    root@debian:/home/will/Downloads# gdebi libjpeg62-turbo_1.5.1-2_amd64.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading state information... Done
    This package is not able to be installed
    Breaks existing package 'libjpeg62-turbo:i386' that conflict: 'libjpeg62'. But the 'libjpeg62-turbo_1.5.1-2_amd64.deb' provides it via: 'libjpeg62'
    root@debian:/home/will/Downloads# gdebi libpng12-0_1.2.50-2+deb8u3_amd64.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading state information... Done

    PNG library - runtime
    libpng is a library implementing an interface for reading and writing
    PNG (Portable Network Graphics) format files.
    .
    This package contains the runtime library files needed to run software
    using libpng.
    Do you want to install the software package? [y/N]:y
    Selecting previously unselected package libpng12-0:amd64.
    (Reading database ... 167608 files and directories currently installed.)
    Preparing to unpack libpng12-0_1.2.50-2+deb8u3_amd64.deb ...
    Unpacking libpng12-0:amd64 (1.2.50-2+deb8u3) ...
    Setting up libpng12-0:amd64 (1.2.50-2+deb8u3) ...
    root@debian:/home/will/Downloads# gdebi teamviewer_12.0.85001_i386.deb
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading state information... Done

    Remote control and meeting solution.
    TeamViewer provides easy, fast and secure remote access and meeting solutions
    to Linux, Windows PCs, Apple PCs and various other platforms,
    including Android and iPhone.
    .
    TeamViewer is free for personal use.
    You can use TeamViewer completely free of charge to access your private
    computers or to help your friends with their computer problems.
    .
    To buy a license for commercial use, please visit http://www.teamviewer.com
    .
    This package contains Free Software components.
    For details, see /opt/teamviewer/doc/license_foss.txt
    Do you want to install the software package? [y/N]:y
    (Reading database ... 167622 files and directories currently installed.)
    Preparing to unpack teamviewer_12.0.85001_i386.deb ...
    Removed /etc/systemd/system/multi-user.target.wants/teamviewerd.service.
    Unpacking teamviewer:i386 (12.0.85001) over (12.0.85001) ...
    Setting up teamviewer:i386 (12.0.85001) ...
    Processing triggers for desktop-file-utils (0.23-1) ...
    Processing triggers for mime-support (3.60) ...
    Processing triggers for hicolor-icon-theme (0.15-1) ...
    root@debian:/home/will/Downloads#