dpkg --set-selections from 11.10 on 12.04LTS

Posted by Vixxo on Ask Ubuntu See other posts from Ask Ubuntu or by Vixxo
Published on 2012-11-13T11:59:54Z Indexed on 2012/11/20 23:22 UTC
Read the original article Hit count: 188

Filed under:

I have to move a server to a different DC in a different country. The server is currently running 11.10, but the new fresh installed OS will be 12.04. The hardware of both is completely different.

In order to install the same packages that the server currently uses, I am thinking of exporting all packages to a list and then run this list on the new machine. I will after that proceed with transferring the configuration files for the LAMP stack.

My question is if this will work, or if there will be a problem because of the differences in the versions of the OS?

What is the correct way to do it?

PS. I have no access to KVM to reload the OS as an image, so this would not be an option.

© Ask Ubuntu or respective owner

Related posts about migration