On Mon, 04 Dec 2023 13:41:47 -0500 Steve Gutreuter <sgutreuter at gmail.com> wrote:> $> sudo /usr/bin/add-apt-repository "deb > 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
Thanks! ?"jammy" made it work. ? For some reason, ?lsb_release -cs is returning "victoria" rather than "jammy", and $> sudo apt update Hit:1 archive.ubuntu.com/ubuntu jammy InRelease Ign:2 packages.linuxmint.com victoria InRelease Get:3 archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB] Hit:4 packages.linuxmint.com victoria Release Get:6 security.ubuntu.com/ubuntu jammy-security InRelease [110 kB] Hit:7 archive.ubuntu.com/ubuntu jammy-backports InRelease Get:8 cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease [3,626 B] Get:9 cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ Packages [41.2 kB] A Mint problem? ? On Mon, 2023-12-04 at 21:57 +0300, Ivan Krylov wrote:> On Mon, 04 Dec 2023 13:41:47 -0500 > Steve Gutreuter <sgutreuter at gmail.com> wrote: > > > $> sudo /usr/bin/add-apt-repository "deb? > > 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? >[[alternative HTML version deleted]]
Reasonably Related 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