deal with nr_terminal_rows unavailable
move common code into PackageManager::StatusChanged()