I cannot install anything in ubuntu that has dependency problem

Posted by phpGeek on Ask Ubuntu See other posts from Ask Ubuntu or by phpGeek
Published on 2014-05-31T15:35:44Z Indexed on 2014/05/31 16:02 UTC
Read the original article Hit count: 291

Filed under:
|
|
|

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:

Install 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

© Ask Ubuntu or respective owner

Related posts about dpkg

Related posts about dependencies