> >   
> Cam,
> I would never laugh "at" you...I may--on ocasions--laugh "with"
> you...Even if you're not looking :-)
> Seriously though, we have all been there. God knows, I have nuked a
> perfectly good installation doing the silliest of things...
> What I have done to save time is to write a quick--and very
> dirty--script that downloads on install the packages I want (You have
> to install a minimal installtion w/network support of course)...I can
> have a minty fresh intallation in about an hour without doing a damn
> thing....Of course; it only works for slackware
> 
For debian based distros such as kubuntu, once I get a system more or
less the way I want it, I usually make a backup of the installed
packages by running the following command:
dpkg --get-selections > hostname-installed-packages.txt
I Then tar this text file up with a copy of the
system's /etc/apt/sources.list as I have a tendency to add sources like
mad.

From a clean restore simply place the sources.list from your backup
into /etc/apt (I also usually move the default one out of the way,
though this is not critical).  Then you run:
dpkg --set-selections < hostname-installed-packages.txt

After that run apt-get -f install and now you have all the same packages
as before.  

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
clug-talk mailing list
[email protected]
http://clug.ca/mailman/listinfo/clug-talk_clug.ca
Mailing List Guidelines (http://clug.ca/ml_guidelines.php)
**Please remove these lines when replying

Reply via email to