Redmine#5339: update packages and patches directly

see https://cfengine.com/dev/issues/5339

On Red Hat, Debian, and SUSE: Implement direct updates of the patches and packages inventory files.  Use generic on others.

All tested except patches on SUSE.