I have a legacy Ubuntu Server 12.04 (i386) and a new Ubuntu Server 12.04 LTS (AMD64)
How do I use the same list of packages from the legacy server on the AMD64 server? I tried this:
dpkg --get-selections > installedpackages
But when I use that list on the new server it tries installing i386 libraries and binaries. I don't want that. I only want the AMD64 stuff.
I used this post as a guide
How to list all installed packages
Any help is appreciated.