[R-sig-Debian] I simply cannot install R on Ubuntu. I don't know why.
Prasenjit Kapat
kapatp at gmail.com
Sat May 16 21:57:20 CEST 2009
On 5/15/09, Judson <judson0423 at gmail.com> wrote:
> 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").
Fine. So, there is no apparent reason for r-base-core to be "pinned" at 2.6.2-2.
> 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
As Michael noted, cmu has r-base-core_2.9.0-2hardy0_{i386,amd64}.deb.
Do the following:
$ sudo apt-get update
If you get any signature/security warning, follow the steps under
"SECURE APT" as provided here:
http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu/
Then (again) run:
$ sudo apt-get update
Finally:
$ apt-cache policy r-base-core
If the candidate version is correct, do
$ sudo apt-get install r-base-core
r-base and r-recommended can be ignored for now. If nothing else, then
you can brute force the process as Michael described.
>
> 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
>>
>
--
Prasenjit
More information about the R-SIG-Debian
mailing list