

The 'Resolving Dependencies' output does this, but the readability is not great, and difficult to separate from the rest of the text. Is there a combination using yum I can run to list the current differences in versions for packages being updated similar to this? Package Old version Update version Yum update kernel gives you a list of packages being updated, and their new versions: = Now you can focus on the serious stuff: the /etc folder and the configuration files.Yum list installed kernel will return a list of packages and their current version: Installed Packages Please note that, before launching the previous command, I'd recommend you to at least check the repos (on both systems). Much better, but the real advantage of the previous command is that it will create a list of packages compatible to yum (ie.: this packages list could be directly supplied to the yum command)! On the New CentOS host.Īnd yum will simply fetch and install the latest versions of the packages specified on the list file directly from its repos.


This command will export the list of the applications installed on the old CentOS without the architecture extension, version number, revision, etc. One of them could be by manually cloning the old CentOS configuation to the new one (essentially by trying to replicate the existing setup on the new system).īut how to clone the installed programs list to the new one? It can be done! On the Old CentOS host: Say you are required to migrate this old system to a new hardware (perhaps to a VM), and, for the occasion, to a more recent CentOS version.įortunately with Linux, you have plenty of options!.Say you have an old crufty CentOS host that you cannot absolutely touch because it is working tm (apart from the occasional apache-OOM, that is).
