At Sat, 1 Jun 2002 11:48:57 +1000, John Ferlito wrote:
> Is there anyway to work out when a debian package was upgraded and what
> the previous version was? 
> 
> Only thing I can think of is the date on the .deb in
> /var/cache/apt/archives

you can look at the debian.changelog for the "theoretical" dates and
versions..

i guess the most robust way of doing it would be to hook some script
into DPkg::Pre-Install-Pkgs in a similar way to apt-listchanges.

or you could archive /var/lib/dpkg/status daily, and then pull stuff
out of it using grep-dctrl (or similar). many tools keep a status-old
or something, so you could check there if you only want to check
before/after the last install.

-- 
 - Gus
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to