We have to use the following command to install the previously installed version of the packages that need to be downgraded: