![]() ![]() ![]() Source: How to install R on Ubuntu 16.04 Xenial? copy/paste one command at a time into terminal. Sudo -H gedit /etc/apt//r-cran.listĪdd this as the only line in the file. Note: Some/all of these "R" packages are in the Ubuntu 19.10 repositories. use copy/paste with the following lines, as some of them are very long. To try and pick up the pieces, we'll start from the beginning. ** (gedit:3157): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported ** (gedit:3157): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ![]() ** (gedit:3157): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported Sudo cat <<EOF | sudo tee /etc/apt//r-cran.listĭeb when I deleted the other 2 lines of code, this showed up in terminal window: (gedit:3157): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error.ServiceUnknown: The name was not provided by any. Gpg: imported: 1 (RSA: sudo apt-get updateĮ: Type 'sudo' is not known on line 1 in source list /etc/apt//r-cran.listĮ: The list of sources could not be here is the result from cat cat /etc/apt//r-cran.list sudo tee /etc/apt//r-cran.list Gpg: key E084DAB9: public key "Michael Rutter " imported Gpg: requesting key E084DAB9 from hkp server ** (gedit:2641): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not sudo apt-key adv -keyserver -recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9Įxecuting: /tmp/tmp.L1dGqRuvRD/gpg.1.sh -keyserver ** (gedit:2641): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ** (gedit:2641): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported I also tried the instructions on this link as well, copying the source and pasting into a terminal, which is probably not how to do this, but I don't know how to access the /etc/apt/sources.list when I ran the code it saysĬat: /etc/apt//r-cran.list: No such file or the fix didn't work here is the output from terminal: (gedit:2641): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error.ServiceUnknown: The name was not provided by any. I don't know how to go to the repository, or how to report. Go to the repository dialogue to correct the problem. Starting the package manager (through the notification) didn't do anything, i got this message (image attached): E: Type 'sudo' is not known on line 1 in source list/etc/aptĮ: The list of sources could not be read. This usually means that your installed packages have unmet dependencies. The error message was: Error: Opening the cache (E:type 'sudo' is not known on line 1 in source list /etc/apt//r-cran.list,Į:The list of sources could not be read.) And now I have an error message in the thin grey tray up top: An error occurred, please run the package manager from the right-click menu or apt-get in a terminal to see what is wrong. I tried the method but my terminal window seemed to do nothing, even though when I tried to close the window it says there were processes running. I tried the instructions from the best answer on a previous post, without success. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |