Update checks, add debian/ubuntu support