Best strategy for a clean reinstall.

Art Alexion art.alexion at verizon.net
Mon Apr 30 18:04:37 UTC 2007


On Monday 30 April 2007 13:01, Donn wrote:
> > I have painstakingly customized the combination of packages for this
> > machine to included what I want.  What is the best backup, clean
> > reinstall, and restore strategy?
>
> At end, the one making the rounds at the moment.


Thanks, Donn.  Have you tried this yourself?  
>
>  Kubuntu Tricks - how to generate a list of installed packages and use it
> to reinstall packages.(modified from http://www.arsgeek.com/?p=564)
>
> First, let's make the list. You'll be doing all of this in a Terminal
> Session:
>
>      dpkg --get-selections | grep -v deinstall > Kubuntu-files
>
>
> Now you've got a list of all of your installed debs in a fairly small file.
> In my
> case, I simply moved this file to a thumb-drive. You could also store it on
> a seperate partition or on a disk somewhere. Heck, it's not that big, email
> it to
> your gmail account.
>
> So now you've got this list and all is well, until your Kubuntu install
> either dies or has to be reinstalled for some reason. Go ahead and do the
> base install.
>
> Once you've got Kubuntu back up and running, copy your Kubuntu-files back
> into your home directory and do the following:
>
>      sudo apt-get update
>
>      sudo apt-get dist-upgrade
>
>      dpkg --set-selections < Kubuntu-files
>
> Now you've told your system what it needs to install, so let's install it
> all.
>
>      sudo dselect
>
> This will open up a dselect session. Type 'I' and allow dselect to install
> of the
> the packages listed in your Kubuntu-files document. When it's finished,
> type 'Q'
> and hit the ENTER key to exit dselect.

-- 

_____________________________________________________________
Art Alexion

PGP fingerprint: 52A4 B10C AA73 096F A661  92D2 3B65 8EAC ACC5 BA7A
Keyserver: hkp://subkeys.pgp.net
The attachment - signature.asc - is my electronic signature; no need for 
alarm.  Info @ 
http://mysite.verizon.net/art.alexion/encryption/signature.asc.what.html
_____________________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 309 bytes
Desc: not available
URL: <https://lists.ubuntu.com/archives/kubuntu-users/attachments/20070430/d71a584b/attachment.sig>


More information about the kubuntu-users mailing list