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

Re: Is there an apt-get install log?



On Tue, 2002-08-06 at 14:14, Shri Shrikumar wrote:
> On Tue, 2002-08-06 at 17:54, rich wrote:
> > 
> > All,
> > 
> > Is there a log anywhere that has a list of packages installed and
> > their install dates?
> > If not, what is a good way to completely back out of a package and
> > all the installed dependencies?
> 
> To get a list of installed packages, you could just do
[snip]
> The above doesn't catch more than one level of dependency though.
> 
> I just hacked the above scripts together and do *not* consider myself an
> export on these matters please so use at your own risk.

But he's also asking for the install date.  Me, as soon as I
complete a set of installs/removes, I do a:
COLUMNS=120 dpkg -l > /root/dpkg/dpkg.installed.`date +%y%m%d.%H%M`

Then, I can diff to see what was installed when.  Crude yet effective.

-- 
+-----------------------------------------------------------------+
| Ron Johnson, Jr.        Home: ron.l.johnson@cox.net             |
| Jefferson, LA  USA                                              |
|                                                                 |
| "The greatest dangers to liberty lurk in insidious encroachment |
|  by men of zeal, well-meaning, but without understanding."      |
|   Justice Louis Brandeis, dissenting, Olmstead v US (1928)      |
+-----------------------------------------------------------------+



Reply to: