[KULUA] How to tell what's stock and what's added in *buntu?

Kendric Beachey kendric.beachey at gmail.com
Sat Aug 7 17:32:52 CDT 2010


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 at gmail.com>wrote:

> I'm preparing to actually do this now...just to see what that grep catches
> I tried it reversed:
>
> ak at 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 at 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 at gmail.com> wrote:
>
>> On Thu, Aug 5, 2010 at 2:35 PM, Kendric Beachey
>> <kendric.beachey at gmail.com> wrote:
>> > 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 at googlegroups.com.
>> To unsubscribe from this group, send email to
>> kulua-l+unsubscribe at googlegroups.com<kulua-l%2Bunsubscribe at googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/kulua-l?hl=en.
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://kclug.org/pipermail/kclug/attachments/20100807/57e4b33d/attachment.htm>


More information about the KCLUG mailing list