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. Any hints will be much appreciated! -- Steve Gutreuter [[alternative HTML version deleted]]
On Mon, 04 Dec 2023 13:41:47 -0500 Steve Gutreuter <sgutreuter at gmail.com> wrote:> $> sudo /usr/bin/add-apt-repository "deb > https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release > -cs)-cran40/"Looks like `lsb_release -cs` returns a Mint codename for you. Thankfully, since we know that Linux Mint 21 is based on Ubuntu 22.04 "Jammy Jellyfish", it should be possible to replace $(lsb_release -cs) with jammy when running the command. Does the jammy-cran40/ subdirectory work for you? -- Best regards, Ivan
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 at 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 at debian.org
Apparently Analagous Threads
- Unable to add the CRAN apt repository
- Unable to add the CRAN apt repository
- Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
- Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image
- Issues with Ubuntu 22.04 and Installing the Latest Version of R (R 4.4.1) to Docker Image