manage installed packages list to restore later