The first is the same as before, but it adds the prefix argument usage Eli suggested. The second patch adds a matching prefix argument to package-install-selected-packages (if this is desired). I didn’t implement a predicate option for NOCONFIRM yet, since I couldn’t think of a use case, and the intended semantics are not quite clear to me. Please let me know what else is needed, and thanks!