


You should almost certainly edit out the deb repository from your /etc/apt/sources.list.ĭeb is not a command, your bash terminal should not recognize it as such. In case you didn't know, our source list is under under /etc/apt//official-package-repositories.list. You probably shouldn't have added a debian repository to your mint. That last line is something I added in an attempt to fix this problem. However, when I type "sudo gedit /etc/apt/sources.list" into the Terminal, the sources.list file says this: To obtain the latest R 4.0 packages, add an entry like I hope somebody can help me debugging! Let me know which additional info you might need.
#Gedit etc apt sources list how to
# For information about how to configure apt package sources,Īs you can see the first line is uncommented, this is what I did manually because it was advised to people running into a similar problem, however it didn't work for me! I'm still getting the same error. # entries were disabled at the end of the installation process. # This system was installed using small removable media I looked at my source.list and it displays this:ĭeb cdrom:/ focal contrib main Sudo apt-get build-dep r-cran-rdrop2 #rdropr2 is the R package I want to installĮrror: You must put some 'deb-src' URIs in your sources.list I figured I needed to install the dependencies: When trying to install some R packages using R from the terminal, I could not install some packages. It has been an interesting journey up until now, and after a full day of trying to debug the following error I decided it was time for my first blog post:) I'm new to Linux a I just installed Linux Mint Cinnamon a few weeks ago.
