#!/bin/bash cd r-base; apt-get source -t unstable r-base cd .. for i in boot cluster foreign kernsmooth lattice mgcv nlme rpart survival vr; do cd $i apt-get source -t unstable r-cran-$i cd .. done