I use R statistics ("r-base") on my computer and recently, by mistake, I ran the following command in terminal:
sudo apt-get remove r-base-core
Of course this removed R from my computer. To undo my mistake, I tried to reinstall but I get the following message:
Some packages could no be installed. This might mean that you requested an
impossible situation or, if you are using a unstable distribution,
that some packages requested were not created or removed from "incoming".
The following information might help to solve the problem:
These Packages have unmet dependencies:
r-base :
Depends: r-base-core (>= 3.2.5-1precise0) but won't be installed
Depends: r-recommended (= 3.2.5-1precise0) but won't be installed
Recommends: r-base-html but won't be installed
I tried a lot of things to solve this problem. I also followed instructions on
"Package dependencies cannot be resolved" error when installing software
However, I got nothing. I've tried sudo apt-get install -f
, and also to manually install the dependencies and recommendentions above (that is, I used sudo apt-get install r-base.html
, sudo apt-get install r-recommended.html
and sudo apt-get install r-base-core
) but again I get frustrated. When I type these commands It gets the same error, but with new unmet dependencies.