[R-sig-Debian] I simply cannot install R on Ubuntu. I don't know why.

Judson judson0423 at gmail.com
Sat May 16 01:13:57 CEST 2009


Hi Prasenjit: thanks.  Here's what I found.  There's only one line in
sources.list that's not Dell-mini specific and it is

deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu hardy/

If I understand the output and asked correctly -- /etc/apt/preferences
does not exist ("no such file or directory").

But my goodness, look at the output to your third question!  Thanks.  Judson
r-base:
  Installed: (none)
  Candidate: 2.9.0-2hardy0
  Version table:
     2.9.0-2hardy0 0
        500 http://lib.stat.cmu.edu hardy/ Packages
     2.6.2-2 0
        500 http://dell-mini.archive.canonical.com hardy/universe Packages
r-base-core:
  Installed: 2.6.2-2
  Candidate: 2.6.2-2
  Version table:
 *** 2.6.2-2 0
        500 http://dell-mini.archive.canonical.com hardy/universe Packages
        100 /var/lib/dpkg/status
r-recommended:
  Installed: (none)
  Candidate: 2.9.0-2hardy0
  Version table:
     2.9.0-2hardy0 0
        500 http://lib.stat.cmu.edu hardy/ Packages
     2.6.2-2 0
        500 http://dell-mini.archive.canonical.com hardy/universe Pack


On Fri, May 15, 2009 at 6:24 PM, Prasenjit Kapat <kapatp at gmail.com> wrote:
> On Fri, May 15, 2009 at 3:08 PM, Judson <judson0423 at gmail.com> wrote:
>> I don't mind using sudo apt-get update/upgrade/install buit I get into
>> crazy loops (hours) that clearly can't be trusted.  But when I use
>> Synaptic (reload/mark for install R-base) every time I get some list
>> of things things it want to install as well and syas "Mark" which it
>> does not do and when I go forward with the Synaptic install of R-base
>> I get this (and abort) every time:
>>
>> r-base:
>>  Depends: r-base-core (>=2.9.0-2hardy0) but 2.6.2-2 is to be installed
>>  Depends: r-recommended but it is not going to be installed
>>
>> I cannot get a pre-install of either of these.   I got greedy a week
>> ago and tried to install R_2.9.0 over my R_2.6.2-2 and now I have
>> nothing.  I have a Dell-Mini Ubuntu 8.04 for 15 days.  I don't get it.
>>  Any ideas?  I'm embarrassed to say this is my second trip through on
>> R (to this forum).  Thanks.
>
> This should rarely happen. Can you copy paste only the lines that
> start with "deb " from /etc/apt/sources.list and any other relevant
> /etc/apt/sources.list.d/*.list files. Also provide
> /etc/apt/preferences, if it exists.
>
> While you are at it, what does the following show:
>
> $ apt-cache policy r-base r-base-core r-recommended
>
> --
> Prasenjit
>



More information about the R-SIG-Debian mailing list