dpkg --set-selections from 11.10 on 12.04LTS

view story

http://askubuntu.com – I have to move a server to a different DC in different country. The server is currently running 11.10, but the new fresh installed OS will be 12.04. The hardware of both is completley 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 tranferring 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? (HowTos)