[Bug 370457] separate downloading and installing of packages into two processes