-1

I'm working on a Ubuntu 18.04.2 LTS. I wanted to upgrade R but I constantly get stuck. I've entered

sudo gedit /etc/apt/sources.list

Where I add

deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/ 

and saved.

Then I got this error message:

** (gedit:27981): WARNING **: 21:44:53.588: Set document metadata failed: Setting attribute metadata::gedit-position not supported

When I tried previously it worked and indeed I came here for a problem (public-key not found) which I encountered later in the process (after typing sudo apt-get update). Now I'm stuck even earlier..:((

I didn't find any thread with answers about this issue. Can someone help me? Thanks

Giulia
  • 1

1 Answers1

1

The README file on the site you want to download packages from says:

The Ubuntu archives on CRAN are signed with the key of "Michael Rutter <marutter@gmail.com>" with key ID 0x51716619e084dab9.  To add the key to your system with one command use (thanks to Brett Presnell for the tip):

    sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9

So there goes the answer to your second problem.

** (gedit:27981): WARNING **: 21:44:53.588: Set document metadata failed: Setting attribute metadata::gedit-position not supported

That's not a problem at all -- just gedit can't save your last editing position.

jpalecek
  • 261