[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: is their a log of apt and/or dpkg?



On Thu, May 22, 2003 at 09:43:45PM -0400, Jerome Acks Jr wrote:
> On Thu, May 22, 2003 at 04:57:14PM -0500, Elizabeth Barham wrote:
> > Hi,
> > 
> >    I was wondering if there is any kind of logging system that records
> > exactly which packages *were* installed. For example, I'm not 100%
> > sure of which OpenOffice we had installed on a particular machine
> > before upgrading to 1.0.3 and I'd like to find out, if possible. Is
> > there a log somewhere (or a way to generate a log) to produce
> > something like:
> > 
> >     2002-12-20: Installed openoffice.org-files_1.0.2
> >     2003-03-12: Upgraded apache_1.0.24 to apache_1.0.25
> > 
> > etc.
> 
> aptitude has a log file. apt-get and dpkg don't.

Just as an aside to this: aptitude is almost command line compatible
with apt-get; that is, you can do things like 'aptitude install
blahblah' and such, just as you do with apt-get.  Of course, you get the
aptitude advantages from this, too: operations are logged, packages that
are only needed as dependencies are marked as such, etc.  You could 

alias apt-get='aptitude'

if you felt the urge (aside from the different purge handling, I see).

-- 
Rob Weir <rweir@ertius.org>  |   mlspam@ertius.org   |   http://www.ertius.org/
GPG keys: 1024D/1E73B7CD, 4096R/3ABDE5EC     |      Do I look like I want a CC?
Words of the day:  BCCI argus BCCI enforcers AIEWS dictionary FSF gamma benelux

Attachment: pgpMfMfFWPYPR.pgp
Description: PGP signature


Reply to: