Redirected both stderr and stdout of apt-get to files for cleaner output.