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

Re: [Q] dpkg-query info



Budding Mechanic wrote:
> Hi,
> 
> Is there a way to find out when a package was installed?
> 
> I didn't see any options for --showformat, but I might have missed it.
> 
> I'm trying to find all the pkgs added to my Ubuntu system since
> installing it from CD.

That information isn't explicitly stored anywhere, AFAIK. I suspect the
best that you can do is to look at the mtimes of the
/var/lib/dpkg/info/<packagename>.list files which ought to be a
reasonable guide of when the package was last installed or upgraded.

Max.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: