[SATLUG] dpkg set-selections (was Running a script in CLI)

FIRESTORM_v1 firestorm.v1 at gmail.com
Fri Jan 11 15:27:57 CST 2008


err.. Daniel...

Sorry, that's what I get for not paying attention.. :P

On Jan 11, 2008 3:27 PM, FIRESTORM_v1 <firestorm.v1 at gmail.com> wrote:

> Samuel:
>
> That is an awesome trick!  thanks for sharing.
>
> FIRESTORM_v1
>
>
> On Jan 11, 2008 12:03 PM, Daniel J. Givens <daniel at rugmonster.org > wrote:
>
> > <4786FFC5.3060907 at lookcee.com > <4787A3D2.9000805 at datanet.ath.cx>
> > Message-ID: <148a0f08a54178e2f53b756a02d300a3 at spinnaker.joyent.us >
> > X-Sender: daniel at rugmonster.org
> > User-Agent: RoundCube Webmail/0.1b
> > Content-Type: text/plain; charset="UTF-8"
> > Content-Transfer-Encoding: 8bit
> >
> >
> > On Fri, 11 Jan 2008 11:13:54 -0600, Samuel Leon <leon36 at gmail.com>
> > wrote:
> > > I
> > > personally keep a text file of all the packages that I have installed
> > on
> > > my debian system (about 75).  Then if I ever need to reinstall or
> > > install on a different computer I just type in "sudo aptitude install"
> > > and then paste in the huge list of packages after that and hit enter.
> >
> > An even easier thing you can do in this instance is by using further
> > functionality in dpkg. In my backup scripts, I include a
> > "dpkg --get-selections > pkg.list". If I ever need to restore the
> > system,
> > I can use the information stored in pkg.list to get all of my installed
> > and removed packages setup the way they were. To do that, I would simply
> > run "dpkg --set-selections < pkg.list" and then a quick
> > "apt-get dselect-upgrade". That little trick has saved me a lot of time
> > over the past few years.
> >
> >
> > --
> > _______________________________________________
> > SATLUG mailing list
> > SATLUG at satlug.org
> > http://alamo.satlug.org/mailman/listinfo/satlug to unsubscribe
> > Powered by Rackspace (www.rackspace.com)
> >
>
>


More information about the SATLUG mailing list