take into account installed packages