Read and apply install/remove requests correctly