I've created a ubuntu/debian package that installs an application that depends on R. When installing I want the package to install R from the repository at:
deb http://cran.uk.r-project.org/bin/linux/ubuntu jaunty/
because this repository contains the up to date version of R. I've tried adding the package to the sources.list file from the packages preinst script but it doesn't seem to work.
Any ideas how I can force the use of this repository?