added package count for ubuntu(dpkg)
fixed some incompatibilities with fedora and friends
multiple compatibility adjustments