[R-sig-Debian] [Rd] typo in R FAQ: sources.list entry for debian 'stable' backports
Kurt Hornik
Kurt.Hornik at wu-wien.ac.at
Mon Oct 24 13:24:46 CEST 2005
>>>>> Dan Davison writes:
> The R FAQ at
> http://cran.r-project.org/doc/FAQ/R-FAQ.html#Are-there-Unix-binaries-for-R_003f
> advises the use of the following /etc/apt/sources.list entry
> deb http://cran.R-project.org/bin/linux/debian stable
> .
> I think that this is missing a forward slash after the word 'stable'.
>> From man sources.list:
> [...] distribution can specify an exact path, in which case the components
> must be omitted and distribution must end with a slash (/) [...]
> And empirically:
> dd:/home/dan# cat /etc/apt/sources.list
> deb http://cran.R-project.org/bin/linux/debian stable
> dd:/home/dan# apt-get update
> E: Malformed line 1 in source list /etc/apt/sources.list (dist parse)
> versus
> dd:/home/dan# cat /etc/apt/sources.list
> deb http://cran.R-project.org/bin/linux/debian stable/
> dd:/home/dan# apt-get update
> Get:1 http://cran.R-project.org stable/ Packages [3155B]
> Get:2 http://cran.R-project.org stable/ Release [71B]
> Fetched 3226B in 0s (5206B/s)
> Reading Package Lists... Done
Dan,
Thanks, fixed.
[Hmm, I thought I had tried this when I added the entry ...]
Best
-k
More information about the R-SIG-Debian
mailing list