Just finished performing the operation, so I wanted to summarize for everyone.  It appears to work great!  The only things it missed were stuff that was installed outside the normal workflow, like Picasa.

0) since this is Ubuntu I'm talking about, I'm using my Ubuntu One account as the place to store the work file, so it'll be right there after the install:

cd ~/Ubuntu\ One

1) before doing the fresh install:

sudo dpkg --get-selections > installed-pkgs.txt
 
2) perform the installation, and then:

cd ~/Ubuntu\ One
sudo dpkg --set-selections < installed-pkgs.txt
sudo apt-get dselect-upgrade

3) go do something else for a while :-) (actually there were a few packages that required user input to finish)

Kendric Beachey


On Sat, Aug 7, 2010 at 9:50 AM, Kendric Beachey <kendric.beachey@gmail.com> wrote:
I'm preparing to actually do this now...just to see what that grep catches I tried it reversed:

ak@mfj:~$ sudo dpkg --get-selections | grep -i kernel
kerneloops-daemon install
nfs-kernel-server install
nvidia-173-kernel-source install
nvidia-kernel-common deinstall
vmware-player-kernel-modules-2.6.17-11 deinstall
vmware-player-kernel-modules-2.6.20-15 deinstall
vmware-player-kernel-modules-2.6.20-16 deinstall
ak@mfj:~$ 

Given that most of this isn't the kernel itself I'm going to leave these things in. (even though it gets me a triple helping of vmware)

Kendric Beachey



On Thu, Aug 5, 2010 at 10:21 PM, Christofer C. Bell <christofer.c.bell@gmail.com> wrote:
On Thu, Aug 5, 2010 at 2:35 PM, Kendric Beachey
> So like this?....
>
> 1) before doing the fresh install:
>
> sudo dpkg --get-selections | grep -vi kernel > installed-pkgs.txt
>
> 2) Backup the file, install new system then:
>
> sudo dpkg --set-selections < installed-pkgs.txt
> sudo apt-get dselect-upgrade
>
> Just wanna get one succinct recipe for posterity.  :-)

I'd leave out the "|grep -vi kernel" part, but yes, that's correct.

--
Chris

--
You received this message because you are subscribed to the Google Groups "kulua-l" group.
To post to this group, send email to kulua-l@googlegroups.com.
To unsubscribe from this group, send email to kulua-l+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/kulua-l?hl=en.