Reinstalling Linux?

This might be useful..

dpkg –list

aptitude search ‘~i’

dpkg –get-selections > selections.txt

dpkg –set-selections < selections.txt
apt-get update
apt-get upgrade

This entry was posted in Uncategorized. Bookmark the permalink.

One Response to Reinstalling Linux?

  1. Diogo Melo says:

    That’s really nice but what about configuration (e.g. postfix require some interaction during install)? Is there a way to “dump” this config too?

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s