Update pacman database before installing pacakges

Signed-off-by: Lance Chen <cyen0312@gmail.com>