This was particularly useful when I was setting up my Latex environment -- the various Ubuntu Tex package do not seem to manage dependencies very well and I kept on getting errors caused by missing files.