Parsing pkg install output