Skip to content
Prev 3030 / 3656 Next

[FORGED] r-base is already the newest version (3.5.2-1bionic)

On 1/30/19 2:03 PM, Dirk Eddelbuettel wrote:
Well I'm glad you made that error.  Regardless of the fact that 
miss-interpreted the output, that from "dpkg -l" set me going on a 
procedure that in the end worked.  The output from "dpkg -L" would 
simply have bewildered me.
I interpreted the "Status=Not/Inst ...." to mean that the package was 
not installed.  Which is consistent with what was actually the case.
I figured that this would get rid if the not installed/partially 
installed/buggered-up-installed traces of r-base-core, and let me try 
again.  In the event this seemed to work.
Well, it worked.  And you can't argue with success.  It seems to have 
got the install procedure to put in all of the bits and pieces so that a 
working version of R was actually created.  E.g. the directory /etc/R 
(which I'd previously removed, hidden away) was created.  As
were /usr/bin/R, /usr/local/bin/R, the man files, etc.  (Which I had 
likewise previously hidden away.)

This did *not* happen before when I did "sudo apt-get install r-base".
So there was a significant and important impact from installing what you 
refer to as the "meta package".
I don't think so.  I have work to do; I don't wish to spend my time 
scrabbling around trying to find reliable and comprehensible 
documentation.  There is a huge amount of material on the web; much of 
it is out of date, inaccurate or misleading.   Generally what is in fact 
accurate is obscure and arcane in the extreme. If you know the answer 
already, you can find it on the web.  Otherwise not.

I expect a command to work, given that the syntax used is correct.

In this case I followed *EXACTLY* (and if you sense a tone of 
exasperation here, you sense correctly) the instructions given at

    https://cran.r-project.org/bin/linux/ubuntu/README.html

and they *did not work*.  Saying "Oh, you must have messed up your 
system" is not helpful.
I did.  (Ubuntu Mate Community site, as I previously mentioned.  Then 
later "AskUbuntu".)  To no avail.

Although I think it is disingenuous to describe this as "basic" help. 
The problem seems to have been obscure.  If it was basic, why was no-one 
able to provide me with an answer?  It was really by pure serendipity 
(your use of dpkg -l rather than dpkg -L and my miss-interpretation of 
the output!!!) that I finally stumbled onto the solution.


<SNIP>

cheers,

Rolf