Problems installing r-base-dev

I am currently using Ubuntu 12.04 64 bit. I tried to install R as indicated on this link . I can successfully install r-base, but I get errors when trying to install r-base-dev. Here is the error

Reading package lists... Done
Building dependency tree       
Reading state information... Done
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:
 r-base-dev : Depends: gfortran but it is not installable
              Depends: libblas-dev but it is not installable or
                       libatlas-base-dev but it is not going to be installed
              Depends: liblapack-dev but it is not installable or
                       libatlas-base-dev but it is not going to be installed
              Depends: libreadline-dev but it is not installable
              Depends: libjpeg-dev but it is not installable
              Depends: libpcre3-dev but it is not installable
              Depends: libpng-dev but it is not installable
              Depends: libbz2-dev but it is not installable
              Depends: cdbs but it is not installable
E: Unable to correct problems, you have held broken packages.

I added a security key, as indicated in this link, as well as the following line deb http://cran.r-project.org/bin/linux/ubuntu precise/to/etc/apt/sources.list

I also added following the ppa: sudo add-apt-repository ppa:marutter/rrutter.

Any help would be noticeable.

PS: I also doubted my lists in / var / lib / apt / lists, so I deleted and re-created it. Still has the same error.

+3
source share
1 answer

, ( ). Hit Alt + F2 -gtk Enter.

Ubuntu Software . enter image description here

sudo apt-get update

sudo apt-get install r-base-dev

.

+1

All Articles