Fix [#24] and [#29], check dependencies before installing auctex.