Reputation: 43
I get following error while installing R in ubuntu 12.04.
sudo apt-get install r-base-core
The following packages have unmet dependencies:
r-base-core : Depends: libblas3 but it is not installable or
Depends: liblapack3 but it is not installable or
Depends: liblzma5 (>= 5.1.1alpha+20120614) but 5.1.1alpha+20110809-3 is to be installed
Depends: libtiff5 (> 4.0.0-1~) but it is not installable
E: Unable to correct problems, you have held broken packages.
Upvotes: 1
Views: 7383
Reputation: 448
Try to install it through Ubuntu Software Center. Search for R software.
Or try to fix it with the command:
sudo apt-get -f install
That command will try to find and install any missing dependencies.
For others solutions you can check this link:
https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies
Upvotes: 4