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 | e...@debian.org

_______________________________________________
R-SIG-Debian mailing list
R-SIG-Debian@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-sig-debian

Reply via email to