[R] Unable to add the CRAN apt repository
Steve Gutreuter
@gutreuter @end|ng |rom gm@||@com
Mon Dec 4 21:14:52 CET 2023
Yes, thanks.
On Mon, 2023-12-04 at 14:08 -0500, Steve Gutreuter wrote:
> Thanks! "jammy" made it work.
>
> For some reason, lsb_release -cs is returning "victoria" rather than "jammy",
> and
>
> $> sudo apt update
> Hit:1 http://archive.ubuntu.com/ubuntu jammy InRelease
> Ign:2 http://packages.linuxmint.com victoria InRelease
> Get:3 http://archive.ubuntu.com/ubuntu jammy-updates InRelease [119 kB]
> Hit:4 http://packages.linuxmint.com victoria Release
> Get:6 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
> Hit:7 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
> Get:8 https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/ InRelease
> [3,626 B]
> Get:9 https://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 using 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?
> >
[[alternative HTML version deleted]]
More information about the R-help
mailing list