<div dir="ltr">sorry,,,, goofy me.</div><div class="gmail_extra"><br clear="all"><div>:-)~MIKE~(-:</div>
<br><br><div class="gmail_quote">On Mon, Dec 30, 2013 at 12:31 PM, Brian Cluff <span dir="ltr"><<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
What do you mean? I suggested that you could completely replace the "sudo apt-get install dselect" and "dselect" commands with apt-get dselect-upgrade<br>
<br>
Brian Cluff<div class="im"><br>
<br>
On 12/30/2013 11:41 AM, Michael Havens wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
Brian.... I think you got ahead of yourself; did you miss the dselect<br>
command in your insructions?<br>
<br>
:-)~MIKE~(-:<br>
<br>
<br>
On Mon, Dec 30, 2013 at 11:34 AM, Brian Cluff <<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a><br></div><div><div class="h5">
<mailto:<a href="mailto:brian@snaptek.com" target="_blank">brian@snaptek.com</a>>> wrote:<br>
<br>
This is a great way to backup a system without actually backing it<br>
up completely, but I like to add at least one additional step, that<br>
backs up the configuration of the packages themselves.<br>
First you need to install the deconf-utils package:<br>
<br>
sudo apt-get install deconf-utils<br>
<br>
That will give you the debconf-get-selections utility that will give<br>
you the contents of the debian package configs in a format that can<br>
be read by debconf-set-selections; which is already on the system so<br>
you don't need any extra packages installed when you do the restore.<br>
<br>
debconf-get-selections >~/debconf-selections<br>
<br>
Then all you need to do is add:<br>
<br>
debconf-set-selections ~/debconf-selections<br>
<br>
before the dselect command.<br>
<br>
Alternatively you can skip loading the dselect command altogether<br>
and just use in place of it:<br>
<br>
apt-get dselect-upgrade<br>
<br>
Brian Cluff<br>
<br>
<br>
On 12/30/2013 09:57 AM, Kevin Fries wrote:<br>
<br>
saw this at askubuntu, and it looks quite complete:<br>
<br>
A quick way of backing up a list of programs is to run this:<br>
<br>
dpkg --get-selections > ~/Package.list<br>
sudo cp /etc/apt/sources.list ~/sources.list<br>
sudo apt-key exportall > ~/Repo.keys<br>
It will back them up in a format that dpkg can read for after your<br>
reinstall, like this:<br>
<br>
sudo apt-key add ~/Repo.keys<br>
sudo cp ~/sources.list /etc/apt/sources.list<br>
sudo apt-get update<br>
sudo apt-get install dselect<br>
sudo dpkg --set-selections < ~/Package.list<br>
sudo apt-get dselect-upgrade -y<br>
Settings and Personal Data<br>
Before you reinstall, you should probably back up the settings<br>
from some<br>
of your programs, this can easily be done by grabbing folders<br>
from /etc<br>
and all the content from your user directory (not just the stuff<br>
you can<br>
see in nautilus!):<br>
<br></div></div>
rsync --progress /home/`whoami` /path/to/user/profile/backup/_<u></u>_here<div class="im"><br>
After you reinstall, you can restore it with:<br>
<br></div>
rsync --progress /path/to/user/profile/backup/_<u></u>_here /home/`whoami`<div class="im"><br>
So all together as a pseudo-bash script.<br>
This assumes there is only one user on the machine (remove /'whoami'<br>
otherwise) and that you used the same username on both installs<br>
(modify<br>
dest. of rsync otherwise).<br>
<br>
dpkg --get-selections > ~/Package.list<br>
sudo cp /etc/apt/sources.list ~/sources.list<br>
sudo apt-key exportall > ~/Repo.keys<br></div>
rsync --progress /home/`whoami` /path/to/user/profile/backup/_<u></u>_here<br>
<br>
## Reinstall now<br>
<br>
rsync --progress /path/to/user/profile/backup/_<u></u>_here /home/`whoami`<div class="im"><br>
sudo apt-key add ~/Repo.keys<br>
sudo cp ~/sources.list /etc/apt/sources.list<br>
sudo apt-get update<br>
sudo apt-get install dselect<br>
sudo dpkg --set-selections < ~/Package.list<br>
sudo dselect<br>
<br>
<br>
On Fri, Dec 27, 2013 at 1:21 PM, Michael Havens<br>
<<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a> <mailto:<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>><br></div><div class="im">
<mailto:<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a> <mailto:<a href="mailto:bmike1@gmail.com" target="_blank">bmike1@gmail.com</a>>>> wrote:<br>
<br>
well.... it looks as if I may have to reinstall my laptop<br>
(which<br>
sucks) if we can't get x working again. I just realized<br>
something I<br>
didn't do: I did not write down all the ppa addresses. So<br>
what I<br>
would like to know is in which file are the ppa s kept?<br>
then I can<br>
scp that to the tv server and if we can't get x working<br>
again it<br>
won't be as painful a bite. Thanks:-)<br>
:-)~MIKE~(-:<br>
<br></div>
------------------------------<u></u>__---------------------<br>
PLUG-discuss mailing list -<br>
PLUG-discuss@lists.phxlinux.__<u></u>org<br>
<mailto:<a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.<u></u>phxlinux.org</a>><br>
<mailto:<a href="mailto:PLUG-discuss@lists." target="_blank">PLUG-discuss@lists.</a>__<a href="http://phxlinux.org" target="_blank">p<u></u>hxlinux.org</a><div class="im"><br>
<mailto:<a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.<u></u>phxlinux.org</a>>><br>
<br>
To subscribe, unsubscribe, or to change your mail settings:<br></div>
<a href="http://lists.phxlinux.org/__mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/__<u></u>mailman/listinfo/plug-discuss</a><div class="im"><br>
<<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a>><br>
<br>
<br>
<br>
<br>
--<br>
<br>
<br>
“Keep away from people who try to belittle your ambitions. Small<br>
people always do that, but the really great make you feel<br>
that you,<br>
too, can become great.”<br>
<br>
<br>
― Mark Twain<br></div>
<<a href="http://www.goodreads.com/__author/show/1244.Mark_Twain" target="_blank">http://www.goodreads.com/__<u></u>author/show/1244.Mark_Twain</a><br>
<<a href="http://www.goodreads.com/author/show/1244.Mark_Twain" target="_blank">http://www.goodreads.com/<u></u>author/show/1244.Mark_Twain</a>>><br>
<br>
<br>
<br>
------------------------------<u></u>__---------------------<br>
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.__<u></u>org<div class="im"><br>
<mailto:<a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.<u></u>phxlinux.org</a>><br>
To subscribe, unsubscribe, or to change your mail settings:<br></div>
<a href="http://lists.phxlinux.org/__mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/__<u></u>mailman/listinfo/plug-discuss</a><br>
<<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a>><br>
<br>
<br>
------------------------------<u></u>__---------------------<br>
PLUG-discuss mailing list - PLUG-discuss@lists.phxlinux.__<u></u>org<div class="im"><br>
<mailto:<a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.<u></u>phxlinux.org</a>><br>
To subscribe, unsubscribe, or to change your mail settings:<br></div>
<a href="http://lists.phxlinux.org/__mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/__<u></u>mailman/listinfo/plug-discuss</a><div class="im"><br>
<<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a>><br>
<br>
<br>
<br>
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a><br>
<br>
</div></blockquote><div class="HOEnZb"><div class="h5">
<br>
------------------------------<u></u>---------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.<u></u>org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/<u></u>mailman/listinfo/plug-discuss</a></div></div></blockquote></div><br></div>