On 26 April 2010 15:08, Markie <mark.curtis.1...@googlemail.com> wrote: >[snip] > You can backup and re-instate your previous apps via command line; > > To backup > > Code: > > sudo dpkg –get-selections > myPackages > > To re-instate > > Code: > > sudo dpkg –set-selections < myPackages && sudo apt-get dselect-upgrade > > You can also do it through synaptic
There's one small problem with this technique as you've written it - it loses track of all the automatically installed dependencies and marks everything as explicitly installed. This means that dependencies aren't automatically removed when you remove the last package that uses them. There is an alternative to the first command that will only output the packages you've explicitly selected though. Code: sudo aptitude search '~i !~M' -F '%p install' > myPackages You also might need a 'apt-get update' just before running 'apt-get dselect-upgrade'. You definitely should run an update before installing the packages anyway (whether it's before or after the set-selections). Reference: http://blog.hanno-stock.de/archives/50 This also includes commands to update the automatically installed packages if you used the commands originally posted! HTH, Neil. -- ubuntu-uk@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk https://wiki.ubuntu.com/UKTeam/