patch: packages check