[R] Unable to add the CRAN apt repository

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Mon Dec 4 19:58:37 CET 2023


Steve,

The better list for such questions is r-sig-debian.

On 4 December 2023 at 13:41, Steve Gutreuter wrote:
| I just upgraded from Linux Mint 20 to 21 and am no longer able to add the CRAN
| Ubuntu repository to my list of repositories.  I am getting:
| 
| $> sudo /usr/bin/add-apt-repository "deb
| https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
| $> sudo apt update
| Hit:1 http://security.ubuntu.com/ubuntu jammy-security InRelease
| Hit:2 http://archive.ubuntu.com/ubuntu jammy InRelease
| Hit:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
| Hit:4 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
| Ign:5 http://packages.linuxmint.com victoria InRelease
| Hit:6 http://packages.linuxmint.com victoria Release
| Ign:8 https://cloud.r-project.org/bin/linux/ubuntu victoria-cran40/ InRelease
| Err:9 https://cloud.r-project.org/bin/linux/ubuntu victoria-cran40/ Release
| 404 Not Found [IP: 108.139.15.91 443]
| Reading package lists... Done
| E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu victoria-cran40/
| Release' does not have a Release file.
| N: Updating from such a repository can't be done securely, and is therefore
| disabled by default.

There is no such thing as 'victoria-cran40' at these servers.

Use jammy-cran40 if you want the Ubuntu 22.04 binaries, otherwise use
focal-cran40 for Ubuntu 20.04.

Dirk


| Any hints will be much appreciated!
| 
| -- 
| Steve Gutreuter
| 
| 
| 	[[alternative HTML version deleted]]
| 
| ______________________________________________
| R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
| 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.

-- 
dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-help mailing list