[R-sig-Debian] typo in R FAQ: sources.list entry for debian 'stable' backports
Dan Davison
davison at uchicago.edu
Sat Oct 15 20:34:16 CEST 2005
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
p.s. Thanks for the help I received this week as a result of not reading
the FAQ...
More information about the R-SIG-Debian
mailing list