Linux – Specify update with apt-get upgrade

aptlinuxupdate

In Ubuntu, the most convenient way to get a system up to date is to call apt-get update followed by apt-get upgrade.
However, on a system that is part of a production environment, it is common practice to test the updates first on an offline system and then apply the very same updates that have been tested on the production system. I wonder if this is possible with apt-get upgrade – is there a way to specify the upgrade in more detail, e.g. by specifying a date until when the upgrade is to be performed?

Best Answer

Once you have tested the upgrades, you can manually upgrade only those specific packages you have tested on the production server with:

apt-get install somepackage=someversion
Related Topic