Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane
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@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  wrote:
>
> Hello,
>
> I never installed R on Ubuntu like you did it.
> I follow this:
>
> sudo apt-get update
> sudo apt-get install r-base
> sudo apt-get install r-base-dev
>
>
> And it works at the first try. See [1]
> The problems I [always] have are with missing Ubuntu libs needed by
> contributed packages, not with base R.
>
> [1] https://cran.r-project.org/bin/linux/ubuntu/README
>
> Hope this helps,
>
> Rui Barradas
>
>
> Às 11:20 de 03/03/2019, John Kane via R-help escreveu:
> >
> >   NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an 
> > incorrect header.
> >
> > To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at 
> > https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/
> >  .
> >
> > I seem to have the repository properly connected and verified.
> >
> > I am getting an error: 
> > ---
> >  john@jonh-T510:~$ sudo apt install r-base r-base-core r-recommended 
> > 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-core : Depends: 
> > libreadline6 (>= 6.0) but it is not installable Recommends: r-base-dev but 
> > it is not going to be installed E: Unable to correct problems, you have 
> > held broken packages. 
> > -
> >  Earlier I was getting another error r-base-core : Depends: libpng12-0 but 
> > it is not installable but that was cured by installing libpng12-0 via the 
> > Ubuntu Software app.
> >
> > I cannot find what appears to be an installable version of libreadlines6.
> >
> > Ubuntu reports that the up-to-date version of libreadlines7.
> >
> > Should I consider this an R issue or an Ubuntu issue?
> >
> > In any case, has anyone encountered the problem and beaten it?
> >
> > Thanks
> >
> > __
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



-- 
John Kane
Kingston ON Canada

_

Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
 
Cancel my mailing that source.list. to r-sig-debian.
 I took one last look at the sources.list file and realised that I had the same 
repository repeated. I had read it as being commented out but it was not. 
Delete one line and I was fine. 
Nothing like blindness! I must have scanned that thing at least 3 or 4 times 
and totally missed it.  Your offer was gratefully received. I had not realised 
how often I use R in a day even just as a quick calculator.

Thanks to everyone for the help. I was just about ready to reinstall Ubuntu and 
not looking forward to 2 or 3 days of installations and customising. 
On Sunday, March 3, 2019, 2:08:04 p.m. EST, John Kane  
wrote:  
 
  Thanks Ista,
Interestingly enough, I have only one repository as far as I can see. I was a 
bit amazed.
I think I have a faulty Ubuntu installation and will have to reinstall. What fun
 
On Sunday, March 3, 2019, 1:16:52 p.m. EST, Ista Zahn  
wrote:  
 
 Hi John,

The official instructions at
https://cran.r-project.org/bin/linux/ubuntu/ work on a fresh
ubuntu:bionic from dockerhub. This suggests that the issue is due to
the configuration of your local system rather than with any problem
with either R or ubuntu. My guess is that you've been reading too many
blog posts and adding too many ppa's to your system, which can lead to
package conflicts. Unfortunately in that case it's hard for people to
help you remotely, since we don't know what you've done to your
system.

Best,
Ista

On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help
 wrote:
>
>
>  NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an 
>incorrect header.
>
> To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at 
> https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/
>  .
>
> I seem to have the repository properly connected and verified.
>
> I am getting an error: 
> ---
>  john@jonh-T510:~$ sudo apt install r-base r-base-core r-recommended 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-core : Depends: 
> libreadline6 (>= 6.0) but it is not installable Recommends: r-base-dev but it 
> is not going to be installed E: Unable to correct problems, you have held 
> broken packages. 
> -
>  Earlier I was getting another error r-base-core : Depends: libpng12-0 but it 
> is not installable but that was cured by installing libpng12-0 via the Ubuntu 
> Software app.
>
> I cannot find what appears to be an installable version of libreadlines6.
>
> Ubuntu reports that the up-to-date version of libreadlines7.
>
> Should I consider this an R issue or an Ubuntu issue?
>
> In any case, has anyone encountered the problem and beaten it?
>
> Thanks
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
 Will do. Thanks. 
On Sunday, March 3, 2019, 3:59:14 p.m. EST, Ista Zahn  
wrote:  
 
 Hi John,

This is not the place, but if you post your /etc/apt/sources.list to
r-sig-debian I might be able to help you sort it out.

Best,
Ista


On Sun, Mar 3, 2019 at 2:08 PM John Kane  wrote:
>
> Thanks Ista,
>
> Interestingly enough, I have only one repository as far as I can see. I was a 
> bit amazed.
>
> I think I have a faulty Ubuntu installation and will have to reinstall. What 
> fun
>
>
>
> On Sunday, March 3, 2019, 1:16:52 p.m. EST, Ista Zahn  
> wrote:
>
>
> Hi John,
>
> The official instructions at
> https://cran.r-project.org/bin/linux/ubuntu/ work on a fresh
> ubuntu:bionic from dockerhub. This suggests that the issue is due to
> the configuration of your local system rather than with any problem
> with either R or ubuntu. My guess is that you've been reading too many
> blog posts and adding too many ppa's to your system, which can lead to
> package conflicts. Unfortunately in that case it's hard for people to
> help you remotely, since we don't know what you've done to your
> system.
>
> Best,
> Ista
>
> On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help
>  wrote:
> >
> >
> >  NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an 
> >incorrect header.
> >
> > To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at 
> > https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/
> >  .
> >
> > I seem to have the repository properly connected and verified.
> >
> > I am getting an error: 
> > ---
> >  john@jonh-T510:~$ sudo apt install r-base r-base-core r-recommended 
> > 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-core : Depends: 
> > libreadline6 (>= 6.0) but it is not installable Recommends: r-base-dev but 
> > it is not going to be installed E: Unable to correct problems, you have 
> > held broken packages. 
> > -
> >  Earlier I was getting another error r-base-core : Depends: libpng12-0 but 
> > it is not installable but that was cured by installing libpng12-0 via the 
> > Ubuntu Software app.
> >
> > I cannot find what appears to be an installable version of libreadlines6.
> >
> > Ubuntu reports that the up-to-date version of libreadlines7.
> >
> > Should I consider this an R issue or an Ubuntu issue?
> >
> > In any case, has anyone encountered the problem and beaten it?
> >
> > Thanks
>
> >
> > __
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread Ista Zahn
Hi John,

This is not the place, but if you post your /etc/apt/sources.list to
r-sig-debian I might be able to help you sort it out.

Best,
Ista


On Sun, Mar 3, 2019 at 2:08 PM John Kane  wrote:
>
> Thanks Ista,
>
> Interestingly enough, I have only one repository as far as I can see. I was a 
> bit amazed.
>
> I think I have a faulty Ubuntu installation and will have to reinstall. What 
> fun
>
>
>
> On Sunday, March 3, 2019, 1:16:52 p.m. EST, Ista Zahn  
> wrote:
>
>
> Hi John,
>
> The official instructions at
> https://cran.r-project.org/bin/linux/ubuntu/ work on a fresh
> ubuntu:bionic from dockerhub. This suggests that the issue is due to
> the configuration of your local system rather than with any problem
> with either R or ubuntu. My guess is that you've been reading too many
> blog posts and adding too many ppa's to your system, which can lead to
> package conflicts. Unfortunately in that case it's hard for people to
> help you remotely, since we don't know what you've done to your
> system.
>
> Best,
> Ista
>
> On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help
>  wrote:
> >
> >
> >  NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an 
> > incorrect header.
> >
> > To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at 
> > https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/
> >  .
> >
> > I seem to have the repository properly connected and verified.
> >
> > I am getting an error: 
> > ---
> >  john@jonh-T510:~$ sudo apt install r-base r-base-core r-recommended 
> > 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-core : Depends: 
> > libreadline6 (>= 6.0) but it is not installable Recommends: r-base-dev but 
> > it is not going to be installed E: Unable to correct problems, you have 
> > held broken packages. 
> > -
> >  Earlier I was getting another error r-base-core : Depends: libpng12-0 but 
> > it is not installable but that was cured by installing libpng12-0 via the 
> > Ubuntu Software app.
> >
> > I cannot find what appears to be an installable version of libreadlines6.
> >
> > Ubuntu reports that the up-to-date version of libreadlines7.
> >
> > Should I consider this an R issue or an Ubuntu issue?
> >
> > In any case, has anyone encountered the problem and beaten it?
> >
> > Thanks
>
> >
> > __
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread John Kane via R-help
 Thanks Ista,
Interestingly enough, I have only one repository as far as I can see. I was a 
bit amazed.
I think I have a faulty Ubuntu installation and will have to reinstall. What fun
 
On Sunday, March 3, 2019, 1:16:52 p.m. EST, Ista Zahn  
wrote:  
 
 Hi John,

The official instructions at
https://cran.r-project.org/bin/linux/ubuntu/ work on a fresh
ubuntu:bionic from dockerhub. This suggests that the issue is due to
the configuration of your local system rather than with any problem
with either R or ubuntu. My guess is that you've been reading too many
blog posts and adding too many ppa's to your system, which can lead to
package conflicts. Unfortunately in that case it's hard for people to
help you remotely, since we don't know what you've done to your
system.

Best,
Ista

On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help
 wrote:
>
>
>  NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an 
>incorrect header.
>
> To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at 
> https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/
>  .
>
> I seem to have the repository properly connected and verified.
>
> I am getting an error: 
> ---
>  john@jonh-T510:~$ sudo apt install r-base r-base-core r-recommended 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-core : Depends: 
> libreadline6 (>= 6.0) but it is not installable Recommends: r-base-dev but it 
> is not going to be installed E: Unable to correct problems, you have held 
> broken packages. 
> -
>  Earlier I was getting another error r-base-core : Depends: libpng12-0 but it 
> is not installable but that was cured by installing libpng12-0 via the Ubuntu 
> Software app.
>
> I cannot find what appears to be an installable version of libreadlines6.
>
> Ubuntu reports that the up-to-date version of libreadlines7.
>
> Should I consider this an R issue or an Ubuntu issue?
>
> In any case, has anyone encountered the problem and beaten it?
>
> Thanks
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.  
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread Ista Zahn
Hi John,

The official instructions at
https://cran.r-project.org/bin/linux/ubuntu/ work on a fresh
ubuntu:bionic from dockerhub. This suggests that the issue is due to
the configuration of your local system rather than with any problem
with either R or ubuntu. My guess is that you've been reading too many
blog posts and adding too many ppa's to your system, which can lead to
package conflicts. Unfortunately in that case it's hard for people to
help you remotely, since we don't know what you've done to your
system.

Best,
Ista

On Sun, Mar 3, 2019 at 6:20 AM John Kane via R-help
 wrote:
>
>
>  NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an 
> incorrect header.
>
> To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at 
> https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/
>  .
>
> I seem to have the repository properly connected and verified.
>
> I am getting an error: 
> ---
>  john@jonh-T510:~$ sudo apt install r-base r-base-core r-recommended 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-core : Depends: 
> libreadline6 (>= 6.0) but it is not installable Recommends: r-base-dev but it 
> is not going to be installed E: Unable to correct problems, you have held 
> broken packages. 
> -
>  Earlier I was getting another error r-base-core : Depends: libpng12-0 but it 
> is not installable but that was cured by installing libpng12-0 via the Ubuntu 
> Software app.
>
> I cannot find what appears to be an installable version of libreadlines6.
>
> Ubuntu reports that the up-to-date version of libreadlines7.
>
> Should I consider this an R issue or an Ubuntu issue?
>
> In any case, has anyone encountered the problem and beaten it?
>
> Thanks
>
> __
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] R installation Ubuntu 18.04 missing dependency libreadline6

2019-03-03 Thread Rui Barradas

Hello,

I never installed R on Ubuntu like you did it.
I follow this:

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


And it works at the first try. See [1]
The problems I [always] have are with missing Ubuntu libs needed by 
contributed packages, not with base R.


[1] https://cran.r-project.org/bin/linux/ubuntu/README

Hope this helps,

Rui Barradas


Às 11:20 de 03/03/2019, John Kane via R-help escreveu:


  NOTE. This is a re-post of a message of Saturday 2018-03-03 sent with an 
incorrect header.

To upgrade to R.3.5.2 from 3.4.4 I have been following the instructions at 
https://www.r-bloggers.com/installation-of-r-3-5-on-ubuntu-18-04-lts-and-tips-for-spatial-packages/
 .

I seem to have the repository properly connected and verified.

I am getting an error: 
---
 john@jonh-T510:~$ sudo apt install r-base r-base-core r-recommended 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-core : Depends: 
libreadline6 (>= 6.0) but it is not installable Recommends: r-base-dev but it 
is not going to be installed E: Unable to correct problems, you have held broken 
packages. 
-
 Earlier I was getting another error r-base-core : Depends: libpng12-0 but it is 
not installable but that was cured by installing libpng12-0 via the Ubuntu 
Software app.

I cannot find what appears to be an installable version of libreadlines6.

Ubuntu reports that the up-to-date version of libreadlines7.

Should I consider this an R issue or an Ubuntu issue?

In any case, has anyone encountered the problem and beaten it?

Thanks

__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.



__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.