[R-sig-Debian] [R] Installing R on ubuntu dapper

Dirk Eddelbuettel edd at debian.org
Mon Jan 7 16:29:58 CET 2008


On 7 January 2008 at 08:31, hadley wickham wrote:
| > I am moving this to r-sig-debian, and I encourage you to subscribe there. [ If
| > you do not subscribe, your mails will bounce. You are of course free to
| > contact us off-list too. ]
| 
| Thanks, and subscribed.

Welcome aboard!
 
| > Not enough information here. It could simply be something else that is not R
| > related.
| >
| > What happens when you do
| >
| >         sudo apt-get update; sudo apt-get dist-upgrade
| 
| ~: sudo apt-get update; sudo apt-get dist-upgrade
| Password:
| Get:1 http://security.ubuntu.com dapper-security Release.gpg [191B]
| Get:2 http://archive.ubuntu.com dapper Release.gpg [189B]
| Get:3 http://archive.ubuntu.com dapper-updates Release.gpg [191B]
| Get:4 http://security.ubuntu.com dapper-security Release [50.9kB]
| Hit http://archive.ubuntu.com dapper Release
| Get:5 http://archive.ubuntu.com dapper-updates Release [50.9kB]
| Get:6 http://cran.r-project.org dapper/ Release.gpg [189B]
| Get:7 http://cran.r-project.org dapper/ Release [1325B]
| Get:8 http://security.ubuntu.com dapper-security/main Packages [134kB]
| Ign http://cran.r-project.org dapper/ Packages
| Hit http://archive.ubuntu.com dapper/main Packages
| Hit http://archive.ubuntu.com dapper/restricted Packages
| Hit http://archive.ubuntu.com dapper/main Sources
| Hit http://archive.ubuntu.com dapper/restricted Sources
| Get:9 http://cran.r-project.org dapper/ Packages [6486B]
| Get:10 http://archive.ubuntu.com dapper-updates/main Packages [257kB]
| Get:11 http://security.ubuntu.com dapper-security/restricted Packages [7544B]
| Get:12 http://security.ubuntu.com dapper-security/main Sources [26.9kB]
| Get:13 http://security.ubuntu.com dapper-security/restricted Sources [979B]
| Get:14 http://security.ubuntu.com dapper-security/universe Packages [84.7kB]
| Get:15 http://security.ubuntu.com dapper-security/universe Sources [11.2kB]
| Get:16 http://archive.ubuntu.com dapper-updates/restricted Packages [5563B]
| Get:17 http://archive.ubuntu.com dapper-updates/main Sources [71.2kB]
| Get:18 http://archive.ubuntu.com dapper-updates/restricted Sources [979B]
| Fetched 710kB in 2s (351kB/s)
| Reading package lists... Done
| Reading package lists... Done
| Building dependency tree... Done
| Calculating upgrade... Done
| The following packages will be upgraded:
|   locales
| 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
| Need to get 3286kB of archives.
| After unpacking 0B of additional disk space will be used.
| Do you want to continue [Y/n]?
| Get:1 http://archive.ubuntu.com dapper-updates/main locales 2.3.18.8 [3286kB]
| Fetched 3286kB in 5s (619kB/s)
| (Reading database ... 29945 files and directories currently installed.)
| Preparing to replace locales 2.3.18.7 (using .../locales_2.3.18.8_all.deb) ...
| Unpacking replacement locales ...
| Setting up locales (2.3.18.8) ...
| Generating locales...
|   en_AU.UTF-8... up-to-date
|   en_BW.UTF-8... up-to-date
|   en_CA.UTF-8... up-to-date
|   en_DK.UTF-8... up-to-date
|   en_GB.UTF-8... up-to-date
|   en_HK.UTF-8... up-to-date
|   en_IE.UTF-8... up-to-date
|   en_IN.UTF-8... up-to-date
|   en_NZ.UTF-8... up-to-date
|   en_PH.UTF-8... up-to-date
|   en_SG.UTF-8... up-to-date
|   en_US.UTF-8... up-to-date
|   en_ZA.UTF-8... up-to-date
|   en_ZW.UTF-8... up-to-date
| Generation complete.
| Current default timezone: 'UTC'.
| Local time is now:      Mon Jan  7 14:29:11 UTC 2008.
| Universal Time is now:  Mon Jan  7 14:29:11 UTC 2008.
| Run 'tzconfig' if you wish to change it.
| 
| 
| which looks ok to me.

Agreeed. Which is good.
 
| > After that, try just the main R package to see what Depends: are claiming to
| >
| >         sudo apt-get install r-base-core
| 
| ~: install r-base-core
| Reading package lists... Done
| Building dependency tree... Done
| Package r-base-core is not available, but is referred to by another package.
| This may mean that the package is missing, has been obsoleted, or
| is only available from another source
| E: Package r-base-core has no installation candidate

Sorry, may have been my thinko. r-base-core exists in my Debian breakdown of
packages which I tend to just rebuild at work.

So lets look at r-base. Do a 'apt-cache policy r-base'.  What version do you
see?  Then try 'apt-get install r-base' and let's see what blockers exists
there.  

Dirk

-- 
Three out of two people have difficulties with fractions.



More information about the R-SIG-Debian mailing list