How to find out when a package is installed?

Daniel Bye freebsd-questions at slightlystrange.org
Sat Dec 8 19:55:03 PST 2007


On Sat, Dec 08, 2007 at 05:44:00PM -0800, Simon Gao wrote:
> Hi,
> 
> Is there a command that can help find out when a package is
> installed/compiled? Or what options should I give to pkg_info to find
> out installation date?

I don't think there is such a command - I've never come across it, in 
any event. However, you might be able to something useful by inspecting
the mtimes of +COMMENTS and +DESC files in /var/db/pkg/*/

Dan

-- 
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20071209/1744c0a2/attachment.pgp


More information about the freebsd-questions mailing list