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
gedit
withsudo
is not recommended, but it works. So what is the problem? You changed the file. Why that message bothers you? You are not "stuck" with that at all. – Pilot6 May 05 '20 at 19:58sudo -H gedit
, or bettersudo nano
. But these messages don't mean you can't edit. – Pilot6 May 05 '20 at 20:02sudo nano /etc/apt/sources.list
, it will edit this file and won't chnge its name. – Pilot6 May 06 '20 at 10:55