if pkg not installed, then skip it.