fixed search functions for centos,suse,debian, solaris (i86), broken for others
fixed commit errors