Separate out the steps here into intermediate variables.
Add an --ignore-stars option, to skip updating of packages listed with "*".