I trying to update R on my Ubuntu 20.04 (new updated from 16.04).
So I delete the previous version of R by :
sudo apt-get purge r-base* r-recommended r-cran-*
sudo apt autoremove
After, I update my /etc/apt/sources.list by adding the good repository
deb https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/
And the correct key :
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
But, I obtain an error during the update of sources.list :
sudo apt-get update
Ign :10 https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/ InRelease
Err :11 https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/ Release
Could not wait for server fd - select (11: Ressource temporairement non disponible) [IP : xxx.xxx.xxx.xxx xxxx]
Lecture des listes de paquets... Fait
W: Le fichier configuré « partener/source/Sources » ne sera pas pris en compte car le dépôt « http://archive.canonical.com/ubuntu focal InRelease » ne dispose pas de la source « partener » (erreur de saisie dans sources.list ?)
E: Le dépôt https://cloud.r-project.org/bin/linux/ubuntu focal-cran40/ Release n'a pas de fichier Release.
At work, I am behind a proxy. So, the proxy parameters are specified on the network parameters in systeme parameters but also for apt. (80proxy file in /etc/apt/apt.conf.d/)
With this configuration, only the R 3.6 is accessible :
apt-cache policy r-base r-base-core r-base-dev r-recommended
r-base:
Installé : (aucun)
Candidat : 3.6.3-2
Table de version :
3.6.3-2 500
500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://fr.archive.ubuntu.com/ubuntu focal/universe i386 Packages
r-base-core:
Installé : (aucun)
Candidat : 3.6.3-2
Table de version :
3.6.3-2 500
500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
r-base-dev:
Installé : (aucun)
Candidat : 3.6.3-2
Table de version :
3.6.3-2 500
500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://fr.archive.ubuntu.com/ubuntu focal/universe i386 Packages
r-recommended:
Installé : (aucun)
Candidat : 3.6.3-2
Table de version :
3.6.3-2 500
500 http://fr.archive.ubuntu.com/ubuntu focal/universe amd64 Packages
500 http://fr.archive.ubuntu.com/ubuntu focal/universe i386 Packages
I have got a laptop with also Ubuntu 20.04 updated and the same sources.list and I meet no error from home network.
I suspect that the error is due to proxy parameters but I not sure.
Could you help to configure and install successfully the last version of R ?
Thanks a lot for your help.
My sources.list :
more /etc/apt/sources.list
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
e multiverse
deb-src http:
verse multiverse
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb http:
deb-src http:
deb https: