Sur Ubuntu 14.04, j’ai suivi http://mirror.its.dal.ca/cran/bin/linux/ubuntu/README qui dit
Installation and compilation of R or some of its packages may require Ubuntu packages from the "backports" repositories. In particular, this is the case for Tcl/Tk 8.5 on Hardy. Therefore, it is suggested to activate the backports repositories with an entry like
deb http://<my.favorite.ubuntu.mirror>/ raring-backports main restricted universe
in your /etc/apt/sources.list file. See https://launchpad.net/ubuntu/+archivemirrors for the list of Ubuntu mirrors.
Ainsi, dans https://launchpad.net/ubuntu/+archivemirrors , j'ai choisi l'option "Open Computing Facility at UC Berkeley" et j'ai copié le lien ( http: //mirrors.ocf. berkeley.edu/ubuntu/ ) de son "http", et ajoute à mon /etc/apt/sources.list
:
deb http://mirrors.ocf.berkeley.edu/ubuntu/ raring-backports main restricted universe
Lorsque je lance Sudo apt-get update
, je rencontre les erreurs suivantes:
Err http://mirrors.ocf.berkeley.edu raring-backports/main AMD64 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/restricted AMD64 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/universe AMD64 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/main i386 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/restricted i386 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/universe i386 Packages
404 Not Found
Ign http://mirrors.ocf.berkeley.edu raring-backports/main Translation-en_US
Ign http://mirrors.ocf.berkeley.edu raring-backports/main Translation-en
Ign http://mirrors.ocf.berkeley.edu raring-backports/restricted Translation-en_US
Ign http://mirrors.ocf.berkeley.edu raring-backports/restricted Translation-en
Ign http://mirrors.ocf.berkeley.edu raring-backports/universe Translation-en_US
Ign http://mirrors.ocf.berkeley.edu raring-backports/universe Translation-en
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/main/binary-AMD64/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/restricted/binary-AMD64/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/universe/binary-AMD64/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/universe/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
La sortie entière est à la fin de ce post. Je me demande pourquoi le problème se produit et comment le résoudre. Merci!
$ Sudo apt-get update
Ign http://us.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://us.archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Ign http://dl.google.com stable InRelease
Ign http://us.archive.ubuntu.com trusty-backports InRelease
Hit http://security.ubuntu.com trusty-security Release
Hit http://us.archive.ubuntu.com trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty-updates Release.gpg
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://us.archive.ubuntu.com trusty-backports Release.gpg
Hit http://security.ubuntu.com trusty-security/restricted Sources
Hit http://us.archive.ubuntu.com trusty Release
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://us.archive.ubuntu.com trusty-updates Release
Hit http://us.archive.ubuntu.com trusty-backports Release
Hit http://security.ubuntu.com trusty-security/multiverse Sources
Ign http://archive.canonical.com trusty InRelease
Hit http://us.archive.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/main AMD64 Packages
Hit http://us.archive.ubuntu.com trusty/restricted Sources
Ign http://extras.ubuntu.com trusty InRelease
Hit http://security.ubuntu.com trusty-security/restricted AMD64 Packages
Hit http://us.archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/universe AMD64 Packages
Hit http://us.archive.ubuntu.com trusty/multiverse Sources
Ign http://stat.ethz.ch trusty/ InRelease
Hit http://security.ubuntu.com trusty-security/multiverse AMD64 Packages
Hit http://us.archive.ubuntu.com trusty/main AMD64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://us.archive.ubuntu.com trusty/restricted AMD64 Packages
Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
Ign http://archive.canonical.com trusty InRelease
Hit http://us.archive.ubuntu.com trusty/universe AMD64 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://extras.ubuntu.com trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty/multiverse AMD64 Packages
Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Ign http://mirrors.ocf.berkeley.edu raring-backports InRelease
Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
Ign http://dl.google.com stable InRelease
Hit http://security.ubuntu.com trusty-security/restricted Translation-en
Hit http://archive.canonical.com trusty Release.gpg
Hit http://stat.ethz.ch trusty/ Release.gpg
Hit http://extras.ubuntu.com trusty Release
Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
Ign http://mirrors.ocf.berkeley.edu raring-backports Release.gpg
Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
Hit http://dl.google.com stable Release.gpg
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://archive.canonical.com trusty Release.gpg
Hit http://us.archive.ubuntu.com trusty/main Translation-en
Hit http://dl.google.com stable Release.gpg
Hit http://stat.ethz.ch trusty/ Release
Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
Hit http://extras.ubuntu.com trusty/main Sources
Hit http://dl.google.com stable Release
Ign http://mirrors.ocf.berkeley.edu raring-backports Release
Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
Hit http://archive.canonical.com trusty Release
Hit http://dl.google.com stable Release
Hit http://us.archive.ubuntu.com trusty/universe Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/main Sources
Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources
Hit http://dl.google.com stable/main AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/universe Sources
Hit http://extras.ubuntu.com trusty/main AMD64 Packages
Hit http://stat.ethz.ch trusty/ Packages
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources
Hit http://archive.canonical.com trusty Release
Hit http://us.archive.ubuntu.com trusty-updates/main AMD64 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/restricted AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/universe AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/multiverse AMD64 Packages
Hit http://extras.ubuntu.com trusty/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://archive.canonical.com trusty/partner Sources
Hit http://dl.google.com stable/main AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://dl.google.com stable/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages
Hit http://archive.canonical.com trusty/partner AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/main Sources
Ign https://private-ppa.launchpad.net precise InRelease
Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
Hit http://us.archive.ubuntu.com trusty-backports/main AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/universe AMD64 Packages
Hit https://private-ppa.launchpad.net precise Release.gpg
Hit http://us.archive.ubuntu.com trusty-backports/multiverse AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
Hit http://archive.canonical.com trusty/partner Sources
Hit https://private-ppa.launchpad.net precise Release
Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
Hit http://archive.canonical.com trusty/partner AMD64 Packages
Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
Hit https://private-ppa.launchpad.net precise/main AMD64 Packages
Hit http://archive.canonical.com trusty/partner i386 Packages
Hit https://private-ppa.launchpad.net precise/main i386 Packages
Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
Ign http://dl.google.com stable/main Translation-en_US
Ign http://extras.ubuntu.com trusty/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://dl.google.com stable/main Translation-en_US
Ign http://dl.google.com stable/main Translation-en
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://extras.ubuntu.com trusty/main Translation-en
Ign http://stat.ethz.ch trusty/ Translation-en_US
Ign http://archive.canonical.com trusty/partner Translation-en
Ign http://stat.ethz.ch trusty/ Translation-en
Ign https://private-ppa.launchpad.net precise/main Translation-en_US
Ign https://private-ppa.launchpad.net precise/main Translation-en
Err http://mirrors.ocf.berkeley.edu raring-backports/main AMD64 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/restricted AMD64 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/universe AMD64 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/main i386 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/restricted i386 Packages
404 Not Found
Err http://mirrors.ocf.berkeley.edu raring-backports/universe i386 Packages
404 Not Found
Ign http://mirrors.ocf.berkeley.edu raring-backports/main Translation-en_US
Ign http://mirrors.ocf.berkeley.edu raring-backports/main Translation-en
Ign http://mirrors.ocf.berkeley.edu raring-backports/restricted Translation-en_US
Ign http://mirrors.ocf.berkeley.edu raring-backports/restricted Translation-en
Ign http://mirrors.ocf.berkeley.edu raring-backports/universe Translation-en_US
Ign http://mirrors.ocf.berkeley.edu raring-backports/universe Translation-en
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/main/binary-AMD64/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/restricted/binary-AMD64/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/universe/binary-AMD64/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/restricted/binary-i386/Packages 404 Not Found
W: Failed to fetch http://mirrors.ocf.berkeley.edu/ubuntu/dists/raring-backports/universe/binary-i386/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
La prise en charge de Ubuntu 13.04 "Raring Ringtail" s'est terminée le 2014-01-27, donc la plupart des miroirs ne fournissent plus raring-backports
.
Comme vous utilisez Ubuntu 14.04 et que trusty-backports
est déjà activé, il n’ya aucune raison d’utiliser le paquet source. Il suffit de l'enlever.
Le README semble être obsolète (vous ne voulez pas de backports rares). Ajoutez simplement une ligne pour un miroir CRAN, par exemple le maître du CRAN à Vienne:
deb http://cran.at.r-project.org/bin/linux/ubuntu trusty/
Vous pouvez également utiliser buntu R PPA , qui peut être ajouté à l'aide de la syntaxe suivante:
Sudo add-apt-repository ppa:marutter/rrutter
Supprimer cette ligne:
deb http://mirrors.ocf.berkeley.edu/ubuntu/ raring-backports main restricted universe
et utilisez la liste this pour sélectionner un miroir.
Comme Florian Diesch a déjà répondu:
Le support pour Ubuntu 13.04 "Raring Ringtail" s'est terminé le 2014-01-27, de sorte que la plupart des miroirs ne fournissent plus de backport raring.