This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.
Date: Tue, 3 Dec 2002 11:25:20 -0800
From: Vince Hoang <svlug@ml.altern8.net>
To: svlug@lists.svlug.org
Subject: Re: [svlug] erased my notes!
On Tue, Dec 03, 2002 at 01:41:33PM -0500, George Georgalis wrote:
> I just overwrote my notes for building debian, used > when I meant >>
apt-get install cvs rcs # :)
> oh well, I think I emailed them to someone... but one thing I
> should be able to do is look at my apt-get history. Is there
> some way to list all packages I've installed with apt-get and
> the corresponding dates? looked at dpkg and apt-get man pages
> before didn't find the right option...
I am not sure about getting the dates, but `dpkg -l` will show you the
installed package. You might need to walk through /var/lib manually if
there is not an explicit command. Here is a page for clues:
http://www.debian.org/doc/manuals/debian-reference/ch-package.en.html#s-info-package
-Vince
--===============38471700791866792==
Content-Type: message/rfc822
MIME-Version: 1.0
Date: Tue, 3 Dec 2002 11:35:18 -0800
From: <dpchrist@inreach.com>
To: "George Georgalis" <georgw@galis.org>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] erased my notes!
Message-ID: <002d01c29b03$251a1a30$0b01a8c0@w2k30g>
References: <20021203184133.GA25947@trot.local>
Content-Type: text/plain;
charset="iso-8859-1"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Precedence: list
Message: 2
George Georgalis <georgw@galis.org> wrote:
> (I've added /root to my backup routine, doh)
>
> I just overwrote my notes for building debian, used > when I meant >>
I use CVS as follows:
1. After a fresh OS install, create a directory under /root with a name
equal to the host name.
2. cd into that directory, touch .exists, and then cvs import. cd ..,
rm -r the imported directory, and cvs co the project.
3. As you modify/ create system files (including maintenance notes),
edit-install-test from the working tree. cvs commit as often as
desired.
4. Back up the CVS repository periodically.
So, assuming "foo" was checked in, if I did
# somecommand > foo
When I meant:
# somecommand >> foo
Recovery would be:
# mv foo bar
# update foo
# cat bar >> foo
# commit foo
# rm bar
I recommend this book for CVS:
[1] Karl Fogel, 1999, "Open Source Development with CVS", CoriolisOpen
Press, ISBN 1-57610-490-7.
HTH,
David
--===============38471700791866792==
Content-Type: message/rfc822
MIME-Version: 1.0
Date: Tue, 3 Dec 2002 11:56:07 -0800
From: Bill Kendrick <nbs@sonic.net>
To: George Georgalis <georgw@galis.org>
Cc: svlug@lists.svlug.org
Subject: Re: [svlug] erased my notes!
Message-ID: <20021203115605.B26321@sonic.net>
In-Reply-To: <20021203184133.GA25947@trot.local>
References: <20021203184133.GA25947@trot.local>
Content-Type: text/plain; charset=us-ascii
MIME-Version: 1.0
Precedence: list
Message: 3
On Tue, Dec 03, 2002 at 01:41:33PM -0500, George Georgalis wrote:
> (I've added /root to my backup routine, doh)
>
> I just overwrote my notes for building debian, used > when I meant >>
In TCSH I have the following in my ~/.cshrc to avoid this ;^)
set noclobber # forbid use of > to automatically overwrite
I believe BASH uses the same syntax (check the 'man' page)
===