Since upgrading to quantal, I find that synaptic and apt-get cannot read the sources.list file if it includes the previously standard line deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu/ quantal This line makes apt-get or synaptic give an error message identifying this line as having a syntax error. If "multiverse" is added at the end of the line, the line is parsed, but then apt-get or synaptic looks for non-existent directories on the server.
cran ubuntu repository and ubuntu 12.10
6 messages · Douglas Bates, Dirk Eddelbuettel, Chris Sims +1 more
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20121115/5c665f7d/attachment.pl>
Hi Chris,
On 15 November 2012 at 11:36, Chris Sims wrote:
| Since upgrading to quantal, I find that synaptic and apt-get cannot read | the sources.list file if it includes the previously standard line | | deb http://lib.stat.cmu.edu/R/CRAN/bin/linux/ubuntu/ quantal | | This line makes apt-get or synaptic give an error message identifying | this line as having a syntax error. | | If "multiverse" is added at the end of the line, the line is parsed, but | then apt-get or synaptic looks for non-existent directories on the server. It may be the dreaded missing slash -- I have this deb http://cran.us.r-project.org/bin/linux/ubuntu quantal/ on a recently set-up machine, and 'wajig update' (with wajig being a nice cmdline wrapper by fellow R hacker Graham Williams) reveals, inter alia, deddelbuettel at ubuntu-m600-1:~/R$ wajig update [...] Ign http://cran.us.r-project.org quantal/ InRelease Hit http://cran.us.r-project.org quantal/ Release.gpg Hit http://cran.us.r-project.org quantal/ Release Hit http://cran.us.r-project.org quantal/ Packages Ign http://cran.us.r-project.org quantal/ Translation-en [...] Hope this helps, Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-sig-debian/attachments/20121115/cda72cba/attachment.pl>
On 11/15/2012 01:28 PM, Chris Sims wrote:
The problem is that the sources.list line is seen as having a syntax error when there is no entry after "quantal" (e.g. main, or universe, etc.) on the line. So it doesn't matter which repository name I put in it. I have tried several (including the one you suggest) already. Here is the offending line from my /etc/apt/sources.list file deb http://cran.us.r-project.org/bin/linux/ubuntu/ quantal
Chris, This (your) version has incorrect syntax: deb http://cran.us.r-project.org/bin/linux/ubuntu/ quantal This works: deb http://cran.us.r-project.org/bin/linux/ubuntu/ quantal/ ^ You need a trailing "/", as per the instructions on CRAN. Michael
Dr. Michael A. Rutter School of Science Penn State Erie, The Behrend College 4205 College Drive Erie, PA 16563 http://math.bd.psu.edu/faculty/rutter mar36 at psu.edu
Thanks, I had just discovered this myself by accident.
On 11/15/2012 02:59 PM, Michael Rutter wrote:
On 11/15/2012 01:28 PM, Chris Sims wrote:
The problem is that the sources.list line is seen as having a syntax error when there is no entry after "quantal" (e.g. main, or universe, etc.) on the line. So it doesn't matter which repository name I put in it. I have tried several (including the one you suggest) already. Here is the offending line from my /etc/apt/sources.list file deb http://cran.us.r-project.org/bin/linux/ubuntu/ quantal
Chris, This (your) version has incorrect syntax: deb http://cran.us.r-project.org/bin/linux/ubuntu/ quantal This works: deb http://cran.us.r-project.org/bin/linux/ubuntu/ quantal/ ^ You need a trailing "/", as per the instructions on CRAN. Michael