Atakan Okan
2016-May-12 12:56 UTC
[R-sig-Debian] Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus
Thanks for the reply Mr. Eddelbuettel. However I somehow couldn't manage to solve the problem completely. So I cleaned the sources.list file so taht the output is this: sudo apt-get update Hit:1 http://tr.archive.ubuntu.com/ubuntu xenial InRelease Hit:2 http://tr.archive.ubuntu.com/ubuntu xenial-updates InRelease???????????????????????????????????????????????????????????????????? Hit:3 http://tr.archive.ubuntu.com/ubuntu xenial-backports InRelease?????????????????????????????????????????????????????????????????? Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease??????????????????????????????????????????????????????????????? Hit:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease???????????????????????????????????????????????????????????????? Reading package lists... Done So after that: sudo gedit /etc/apt/sources.list [sudo] password for atakan: (gedit:7094): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files ** (gedit:7094): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported ** (gedit:7094): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported ** (gedit:7094): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported And then I check the /etc/apt/sources.list.d/ directory and it was empty, so I tried to create a cran.list file wth gedit and when I tried to save it, it raised an error "Could not save the file, you do not have the permissions necessary....". I am logged in as the administrator, I am not sure how to fix this. cat /etc/apt/sources.list.d/cran.list cat: /etc/apt/sources.list.d/cran.list: No such file or directory ----------------------------------------> Date: Thu, 12 May 2016 07:11:39 -0500 > To: atakanokan at outlook.com > CC: r-sig-debian at r-project.org > Subject: Re: [R-sig-Debian] Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus > From: edd at debian.org > > > On 12 May 2016 at 15:00, Atakan Okan wrote: > | Any help is appreciated, thanks. > > 1) Clean up sources.list as suggested in the error messages you quoted. > > 2) Do that until 'sudo apt-get update' no longer complains. > > 3) Then re-read the README at https://cloud.r-project.org/bin/linux/ubuntu/ > and add one line. I have this __one line__ in the directory meant for this: > > edd at bud:~$ cat /etc/apt/sources.list.d/cran.list > deb https://cran.rstudio.com/bin/linux/ubuntu xenial/ # disabled on upgrade to xenial > edd at bud:~$ > > and I have been using the CRAN repos maintained by Michael for years on > multiple machines. It. Just. Works. > > Dirk > > -- > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Erol Biceroglu
2016-May-12 13:17 UTC
[R-sig-Debian] Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus
Hello, Side question... would this have anything to do with 16.04 being new and (potentially) "less stable" than 14.04? Or put another way, would this issue come up under 14.04? Thank you, Erol Biceroglu On Thu, May 12, 2016 at 8:56 AM, Atakan Okan <atakanokan at outlook.com> wrote:> Thanks for the reply Mr. Eddelbuettel. However I somehow couldn't manage > to solve the problem completely. > > So I cleaned the sources.list file so taht the output is this: > sudo apt-get update > Hit:1 http://tr.archive.ubuntu.com/ubuntu xenial InRelease > Hit:2 http://tr.archive.ubuntu.com/ubuntu xenial-updates > InRelease > Hit:3 http://tr.archive.ubuntu.com/ubuntu xenial-backports > InRelease > Hit:4 http://security.ubuntu.com/ubuntu xenial-security > InRelease > Hit:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ > InRelease > Reading package lists... Done > > So after that: > sudo gedit /etc/apt/sources.list > [sudo] password for atakan: > > > (gedit:7094): Gtk-WARNING **: Calling Inhibit failed: > GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name > org.gnome.SessionManager was not provided by any .service files > > ** (gedit:7094): WARNING **: Set document metadata failed: Setting > attribute metadata::gedit-spell-enabled not supported > > ** (gedit:7094): WARNING **: Set document metadata failed: Setting > attribute metadata::gedit-encoding not supported > > ** (gedit:7094): WARNING **: Set document metadata failed: Setting > attribute metadata::gedit-position not supported > > And then I check the /etc/apt/sources.list.d/ directory and it was empty, > so I tried to create a cran.list file wth gedit and when I tried to save > it, it raised an error "Could not save the file, you do not have the > permissions necessary....". I am logged in as the administrator, I am not > sure how to fix this. > > cat /etc/apt/sources.list.d/cran.list > cat: /etc/apt/sources.list.d/cran.list: No such file or directory > > > ---------------------------------------- > > Date: Thu, 12 May 2016 07:11:39 -0500 > > To: atakanokan at outlook.com > > CC: r-sig-debian at r-project.org > > Subject: Re: [R-sig-Debian] Problem with Install R on Linux Ubuntu 16.04 > Xenial Xerus > > From: edd at debian.org > > > > > > On 12 May 2016 at 15:00, Atakan Okan wrote: > > | Any help is appreciated, thanks. > > > > 1) Clean up sources.list as suggested in the error messages you quoted. > > > > 2) Do that until 'sudo apt-get update' no longer complains. > > > > 3) Then re-read the README at > https://cloud.r-project.org/bin/linux/ubuntu/ > > and add one line. I have this __one line__ in the directory meant for > this: > > > > edd at bud:~$ cat /etc/apt/sources.list.d/cran.list > > deb https://cran.rstudio.com/bin/linux/ubuntu xenial/ # disabled on > upgrade to xenial > > edd at bud:~$ > > > > and I have been using the CRAN repos maintained by Michael for years on > > multiple machines. It. Just. Works. > > > > Dirk > > > > -- > > http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org > > _______________________________________________ > R-SIG-Debian mailing list > R-SIG-Debian at r-project.org > https://stat.ethz.ch/mailman/listinfo/r-sig-debian >[[alternative HTML version deleted]]
Dirk Eddelbuettel
2016-May-12 14:30 UTC
[R-sig-Debian] Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus
On 12 May 2016 at 09:17, Erol Biceroglu wrote: | Side question... would this have anything to do with 16.04 being new and | (potentially) "less stable" than 14.04?? Or put another way, would this issue | come up under 14.04? No. User error (with apt-config files) is orthogonal to release quality. And FWIW some people seem to be quite positive on 16.04: http://arstechnica.com/information-technology/2016/05/ubuntu-16-04-proves-even-an-lts-release-can-live-at-linuxs-bleeding-edge/ Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Dirk Eddelbuettel
2016-May-12 14:31 UTC
[R-sig-Debian] Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus
On 12 May 2016 at 15:56, Atakan Okan wrote: | Thanks for the reply Mr. Eddelbuettel. However I somehow couldn't manage to solve the problem completely. | | So I cleaned the sources.list file so taht the output is this: | sudo apt-get update | Hit:1 http://tr.archive.ubuntu.com/ubuntu xenial InRelease | Hit:2 http://tr.archive.ubuntu.com/ubuntu xenial-updates InRelease???????????????????????????????????????????????????????????????????? | Hit:3 http://tr.archive.ubuntu.com/ubuntu xenial-backports InRelease?????????????????????????????????????????????????????????????????? | Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease??????????????????????????????????????????????????????????????? | Hit:5 http://cran.rstudio.com/bin/linux/ubuntu xenial/ InRelease???????????????????????????????????????????????????????????????? | Reading package lists... Done | | So after that: | sudo gedit /etc/apt/sources.list | [sudo] password for atakan: | | And then I check the /etc/apt/sources.list.d/ directory and it was empty, so I tried to create a cran.list file wth gedit and when I tried to save it, it raised an error "Could not save the file, you do not have the permissions necessary....". I am logged in as the administrator, I am not sure how to fix this. | | cat /etc/apt/sources.list.d/cran.list | cat: /etc/apt/sources.list.d/cran.list: No such file or directory Try you try sudo gedit /etc/apt.sources.d/cran.list Dirk -- http://dirk.eddelbuettel.com | @eddelbuettel | edd at debian.org
Apparently Analagous Threads
- Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus
- Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus
- Problem with Install R on Linux Ubuntu 16.04 Xenial Xerus
- R installation problems on Linux Mint 18.1 via jessie-cran3
- R installation problems on Linux Mint 18.1 via jessie-cran3