Re: [R] Strange Conflicts with Debian Repositories

2009-11-08 Thread Dirk Eddelbuettel
On Sun, Nov 08, 2009 at 10:31:12AM -0600, Dirk Eddelbuettel wrote:
> 
> On 8 November 2009 at 17:05, Lorenzo Isella wrote:
> | I am experiencing some really strange problems in updating my system
> | whenever I have both the R repository and the multimedia repository
> | available.
> [...]
> | deb http://cran.ch.r-project.org/bin/linux/debian lenny-cran/
> 
> This URLs doesn't exist / doesn't resolve. So don't use it. This one seems to
> work 
> 
>  http://stat.ethz.ch/CRAN/bin/linux/debian/lenny-cran/

Sorry, I meant

   http://stat.ethz.ch/CRAN/bin/linux/debian/  lenny-cran/

which works for me across the pond as well.

Dirk

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

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Strange Conflicts with Debian Repositories

2009-11-08 Thread Dirk Eddelbuettel

On 8 November 2009 at 17:05, Lorenzo Isella wrote:
| I am experiencing some really strange problems in updating my system
| whenever I have both the R repository and the multimedia repository
| available.
[...]
| deb http://cran.ch.r-project.org/bin/linux/debian lenny-cran/

This URLs doesn't exist / doesn't resolve. So don't use it. This one seems to
work 

 http://stat.ethz.ch/CRAN/bin/linux/debian/lenny-cran/

so try that instead. Likewise for the sources. Also note the trailing slash.

This question, by the way, would be much more appropriate for the
r-sig-debian list which is dedicated to Debian / Ubuntu questions.

Dirk

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

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] Strange Conflicts with Debian Repositories

2009-11-08 Thread Lorenzo Isella
Dear All,
I have just installed a fresh Debian testing (squeeze) on my system
(amd64 architecture).
I am experiencing some really strange problems in updating my system
whenever I have both the R repository and the multimedia repository
available.
This is my source.list (when I disable the multimedia repository)

~$ cat /etc/apt/sources.list
deb http://ftp.ch.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.ch.debian.org/debian/ testing main non-free contrib

deb http://security.debian.org/ testing/updates main contrib non-free
deb-src http://security.debian.org/ testing/updates main contrib non-free

#deb http://www.debian-multimedia.org testing main

#deb http:///bin/linux/debian lenny-cran/
#deb-src http:///bin/linux/debian lenny-cran/

# Add R-repository
deb http://cran.ch.r-project.org/bin/linux/debian lenny-cran/
deb-src http://cran.ch.r-project.org/debian/bin/linux/debian lenny-cran/

This way I have no trouble to update/upgrade my system (only, I do not
see the sources of the R packages, but this is really a minor issue
for now)

~$ sudo apt-get update
Get:1 http://security.debian.org testing/updates Release.gpg [835B]
Ign http://security.debian.org testing/updates/main Translation-en_US
Ign http://security.debian.org testing/updates/contrib Translation-en_US
Get:2 http://ftp.ch.debian.org testing Release.gpg [835B]
Ign http://ftp.ch.debian.org testing/main Translation-en_US
Ign http://ftp.ch.debian.org testing/contrib Translation-en_US
Ign http://security.debian.org testing/updates/non-free Translation-en_US
Hit http://security.debian.org testing/updates Release
Ign http://ftp.ch.debian.org testing/non-free Translation-en_US
Hit http://ftp.ch.debian.org testing Release
Ign http://security.debian.org testing/updates/main Packages/DiffIndex
Hit http://ftp.ch.debian.org testing/main Packages/DiffIndex
Ign http://security.debian.org testing/updates/contrib Packages/DiffIndex
Ign http://security.debian.org testing/updates/non-free Packages/DiffIndex
Ign http://security.debian.org testing/updates/main Sources/DiffIndex
Ign http://security.debian.org testing/updates/contrib Sources/DiffIndex
Ign http://security.debian.org testing/updates/non-free Sources/DiffIndex
Get:3 http://cran.ch.r-project.org lenny-cran/ Release.gpg [197B]
Ign http://cran.ch.r-project.org lenny-cran/ Translation-en_US
Ign http://cran.ch.r-project.org lenny-cran/ Release.gpg
Hit http://ftp.ch.debian.org testing/contrib Packages/DiffIndex
Ign http://ftp.ch.debian.org testing/non-free Packages/DiffIndex
Hit http://ftp.ch.debian.org testing/main Sources/DiffIndex
Ign http://ftp.ch.debian.org testing/non-free Sources/DiffIndex
Hit http://ftp.ch.debian.org testing/contrib Sources/DiffIndex
Hit http://security.debian.org testing/updates/main Packages
Hit http://security.debian.org testing/updates/contrib Packages
Hit http://security.debian.org testing/updates/non-free Packages
Hit http://security.debian.org testing/updates/main Sources
Hit http://security.debian.org testing/updates/contrib Sources
Get:4 http://cran.ch.r-project.org lenny-cran/ Release [1,288B]
Hit http://ftp.ch.debian.org testing/non-free Packages
Hit http://ftp.ch.debian.org testing/non-free Sources
Hit http://security.debian.org testing/updates/non-free Sources
Ign http://cran.ch.r-project.org lenny-cran/ Release
Ign http://cran.ch.r-project.org lenny-cran/ Packages
Ign http://cran.ch.r-project.org lenny-cran/ Sources
Ign http://cran.ch.r-project.org lenny-cran/ Packages
Ign http://cran.ch.r-project.org lenny-cran/ Sources
Get:5 http://cran.ch.r-project.org lenny-cran/ Packages [11.4kB]
Err http://cran.ch.r-project.org lenny-cran/ Sources
  404  Not Found
Fetched 14.5kB in 3s (3,851B/s)
W: Failed to fetch
http://cran.ch.r-project.org/debian/bin/linux/debian/lenny-cran/Sources.gz
 404  Not Found

E: Some index files failed to download, they have been ignored, or old
ones used instead.

However (and this is really odd...) if I uncomment the multimedia
repository this is what happens

$ sudo apt-get update
Err http://www.debian-multimedia.org testing Release.gpg
  Could not resolve 'www.debian-multimedia.org'
Err http://security.debian.org testing/updates Release.gpg
  Could not resolve 'security.debian.org'
Err http://security.debian.org testing/updates/main Translation-en_US
  Could not resolve 'security.debian.org'
Err http://www.debian-multimedia.org testing/main Translation-en_US
  Could not resolve 'www.debian-multimedia.org'
Err http://security.debian.org testing/updates/contrib
Translation-en_US
  Could not resolve 'security.debian.org'
Err http://security.debian.org testing/updates/non-free Translation-en_US
  Could not resolve 'security.debian.org'
Err http://cran.ch.r-project.org lenny-cran/ Release.gpg
  Could not resolve 'cran.ch.r-project.org'
Err http://cran.ch.r-project.org lenny-cran/ Translation-en_US
  Could not resolve 'cran.ch.r-project.org'
Err http://cran.ch.r-project.org lenny-cran/ Release.gpg
  Could not resolve 'cran.ch.r-proje