clone ubuntu installation

David Hummel lemmuh-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org
Fri Jun 12 12:00:56 EDT 2009


On Fri, Jun 12, 2009 at 11:50 AM, Laura Conrad<sunny-O0WJhd4tT3hg9hUCZPvPmw at public.gmane.org> wrote:
>
> I have a new computer, and will be moving my desktop to it over the next
> week or so.
>
> I'd like to put a fresh ubuntu 9.04 installation on, but I don't want to
> spend the next 2 months finding packages I need that aren't installed
> yet.   What's the easiest way to take a fresh install and say, "Add all
> that packages that are on that other machine and aren't yet here?"

Something like this should do the trick:

# old system
$ dpkg --get-selections > mypkgs

# new system
$ dpkg --set-selections < mypkgs
$ sudo aptitude install






More information about the Discuss mailing list