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

Re: Bug#317430: ITP: apt-history -- logs the changes when installing



On Sat, 9 Jul 2005, David Pashley wrote:

> On Jul 09, 2005 at 12:12, Nico Golde praised the llamas by saying:
> > Hallo Matthew,
> > >
> > > Coreutils is required. Why is the ability to do something without it an
> > > advantage?
> >
> > You can do almost every thing with with tools like, grep,
> > sed, awk etc. but in my opinion this should be so easy as
> > possible to everyone. Not everybody is familiar with grep
> > etc. but apt-history show should be no problem.
> >
> > Regards Nico
>
> function apt-history () {
>    grep " $1 " /var/log/dpkg.log
> }

Actually, apt-history would be prefered.

dpkg logs everything that is actually installed.  However, apt installs
dependencies based on install requests.  Those dependencies aren't actually
important when recreating an install list.



Reply to: