it seems my version of pdflatex does not work, so manually install latex packages specified in PACKAGES