2

I wanted to install teamviewer on linux 64-bit system.

What I did was to download teamviewer.deb file and install it as below:

sudo dpkg -i install teamviewer.deb

Then I wanted to correct dependency problem so I issued the following command:

sudo apt-get install libc6:i386 libgcc1:i386 libasound2:i386 libfreetype6:i386 zlib1g:i386 libsm6:i386 libxdamage1:i386 libxext6:i386 libxfixes3:i386 libxrender1:i386 libxtst6:i386  

I got the following error:

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

I then tried:

sudo apt-get install -f  

Again I got the following error:

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies

Even I tried to install gdebi, but I got the above error again.

I emptied archives folder:

sudo apt-get clean  
sudo apt-get update  
sudo apt-get upgrade

Again I have problem installing my deb package. Is there anything I could do now to solve this problem?


I've read the below article as well:

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


EDIT:

I found libperl5.14:amd64 as a broken package. I used:

sudo apt-get remove libperl5.14:amd64  

I got the following message:

E: Unable to locate package Broken

This is my whole apt.log file. I found a few more broken packages. I've done the same thing and got the same message.


EDIT 2:

I tried to install teamviewer_linux.deb via software center and I found repair button I clicked it and again I got the error below:

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.    

even after package removal and installing it via software center I got the error below:

Can not install 'libfreetype6:i386'  

EDIT 3:

Can sources.list affect the process of installing deb packages? This is the only thing I'm suspicious of!

EDIT 4:

When after that I type sudo apt-get install -f I get this message:

Reading package lists... Done
Building dependency tree      
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded

EDIT 5:
Output of sudo dpkg -i teamviewer_linux.deb:

dpkg: error processing package teamviewer (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
teamviewer
Alireza
  • 1,284
  • 4
  • 14
  • 26
  • Have you looked at this answer? it works perfectly wehen you use the gdebi method. – Jacob Vlijm May 31 '14 at 19:17
  • 1
    @JacobVlijm, the problem is that I cannot even install gdebi? I get dependency error. Isn't that because of wrong sources.list or maybe this file lacks universe or main? – Alireza Jun 01 '14 at 04:15
  • 1
    first you should solve broken dependency problem I think, See here.. http://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies – Bibi424 Jun 01 '14 at 10:00
  • What's with the 18 not upgraded? Any specific reason those haven't been upgraded? – Seth Jun 04 '14 at 22:17
  • Have no idea. I've upgraded them all. Now I have nothing to upgrade ;-) – Alireza Jun 05 '14 at 12:30
  • @Bibi424 that is the most unhelpful link you could have picked. – Braiam Jun 11 '14 at 19:22
  • @phpGeek please, do not truncate the output of the commands you run. Also please add the complete output of sudo apt-get check and sudo dpkg -C, and only keep the things that you have tried. – Braiam Jun 11 '14 at 19:24

3 Answers3

2

Try this

dpkg --add-architecture i386
sudo apt-get update
wget http://www.teamviewer.com/download/teamviewer_linux.deb
sudo dpkg -i teamviewer_linux.deb
sudo apt-get install -f

it is answered here: Installed Teamviewer using a 64-bits system, but I get a dependency error

Bibi424
  • 618
  • 6
  • 13
  • can you add error you getting to the Question? – Bibi424 Jun 01 '14 at 09:56
  • put your teamviever_linux.deb file to home directory and try once again from 4th command. – Bibi424 Jun 01 '14 at 10:34
  • Is it present in home. Pls check output of ls command. – Bibi424 Jun 01 '14 at 10:37
  • Now the file is present. And EDIT 5 part of question tells about dependency problem – Alireza Jun 01 '14 at 11:03
  • Try this.. It solved similar issue http://forums.debian.net/viewtopic.php?f=17&t=104887 sudo apt-get install ia32-libs-i386 && sudo apt-get install -f && sudo dpkg -i teamviewer_linux.deb – Bibi424 Jun 01 '14 at 11:26
  • Gained no success. I think something is broken in my case. Because I've installed in both 32-bit and 64-bit systems with no problem! I don't know know what the hell is wrong with this laptop – Alireza Jun 01 '14 at 11:34
1

Double click on the .deb file, teamviewer_linux.deb and wait to the Software Center opens. From there, you can install Teamviewer 9 without any problems.

Korkel
  • 1,158
  • 1
  • 10
  • 26
0

Take a look at this link. It may help.

Open the /var/log/dist-upgrade/apt.log log file in a text editor. Locate any "broken" packages and remove them with sudo apt-get remove <package>.

Korkel
  • 1,158
  • 1
  • 10
  • 26