Add -y and upgrade statements