Matt Dowle
2014-Sep-13 15:22 UTC
[R-sig-Debian] Picking 'rgl' as source package instead of 'r-cran-rgl'
Hi, $ more /etc/apt/sources.list.d/additional-repositories.list deb http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/ deb-src http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/ $ sudo apt-get update $ sudo apt-get install r-cran-rgl # works great $ sudo apt-get build-dep r-cran-rgl Reading package lists... Done Building dependency tree Reading state information... Done Picking 'rgl' as source package instead of 'r-cran-rgl' E: Unable to find a source package for rgl What have I done wrong?! Thanks, Matt
Matt Dowle
2014-Sep-13 17:38 UTC
[R-sig-Debian] Picking 'rgl' as source package instead of 'r-cran-rgl'
On 13/09/14 16:22, Matt Dowle wrote:> Hi, > > $ more /etc/apt/sources.list.d/additional-repositories.list > deb http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/ > deb-src http://www.stats.bris.ac.uk/R/bin/linux/debian wheezy-cran3/ > > $ sudo apt-get update > > $ sudo apt-get install r-cran-rgl # works great > > $ sudo apt-get build-dep r-cran-rgl > Reading package lists... Done > Building dependency tree > Reading state information... Done > Picking 'rgl' as source package instead of 'r-cran-rgl' > E: Unable to find a source package for rgl > > What have I done wrong?! > > Thanks, Matt > >Thanks to Prof Nash and Dirk, I was missing deb-src entries on the main Debian repos. I went to Administration->Software Source, selected "Enable source code repos" Then the following file appeared : $ more /etc/apt/sources.list.d/official-source-repositories.list deb-src http://packages.linuxmint.com debian main upstream import deb-src http://debian.linuxmint.com/latest/ testing main contrib non-free deb-src http://debian.linuxmint.com/latest/security testing/updates main contrib non-free deb-src http://debian.linuxmint.com/latest/multimedia testing main non-free deb-src http://extra.linuxmint.com debian main $ Then it worked : $ sudo apt-get update $ sudo apt-get build-dep r-cran-rgl Thanks! Matt
Apparently Analagous Threads
- R 3.1.2 for Debian jessie/testing available on CRAN
- R 3.1.2 for Debian jessie/testing available on CRAN
- Problem installing R on Debian 6
- R installation problems on Linux Mint 18.1 via jessie-cran3
- Three dimensional view of the profiles using 'rgl' package (example of 3 dimensional graphics using rgl package).