Ok, instead of Apt on CD

How about replicating an installed package list this way:

dpkg --get-selections | grep '[[:space:]]install$' | awk '{print $1}' > packagelist.txt on the old machine,

then:
sudo apt-get -u install `cat packagelist.txt` on new machine,

That should work. Only disadvantage is that you’d have to download the installed packages from the ‘net onto the new machine, rather than having them available via a CD. The advantage, of course, is that you have burnt one less CD, and will automatically download the most recent version of your packages. :-)

One Response

Page 1 of 1
  1. Sam Charleston
    Sam Charleston December 1, 2007 at 9:18 am |

    Thanks. I found this tip to be very helpful when I installed a new version of Xubuntu on my computer. :)

Leave a Reply