install packages after creating them; add support for debug packages