Skip to content
Prev 378781 / 398502 Next

R installation Ubuntu 18.04 missing dependency libreadline6

Thanks Rui,
Depending on how I try to install I get a different error. I am
starting to think that somehow the Ubuntu installation may be faulty.
I used a ISO that I had burned about a year ago.  I had no problem
then with a shared installation but who knows.

sudo apt-get update
sudo apt-get install r-base

results in
------------------------------------------------------------------------------------
john at jonh-T510:~$ sudo apt-get install r-base
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 resolve the situation:

The following packages have unmet dependencies:
 r-base : Depends: r-base-core (>= 3.5.2-1xenial) but it is not going
to be installed
          Depends: r-recommended (= 3.5.2-1xenial) but it is not going
to be installed
          Recommends: r-base-html but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
------------------------------------------------------------------------------

I downloaded the R-3.5.2.tar.gz file and tried compiling.
Results
------------------------------------------------------------------------------
 checking whether PCRE support suffices... yes
checking for pcre2-config... no
checking for curl-config... no
checking curl/curl.h usability... no
checking curl/curl.h presence... no
checking for curl/curl.h... no
configure: error: libcurl >= 7.22.0 library and headers are required
with support for https
-------------------------------------------------------------------------------
Symantic seems to feel that libcurs3  7.58.0-2ubuntu2 and
libcurl3-gnutls 7.58.0-2ubuntu3.6 are installed. Maybe I need to
install a few more flavours?
On Sun, 3 Mar 2019 at 07:33, Rui Barradas <ruipbarradas at sapo.pt> wrote: