Re: when was a pkg installed !!!
hmm, on Wed, Nov 07, 2007 at 12:40:21PM -0800, badeguruji said that > i ran pkg_info with all common options but none tell me when was the pkg > installed!!! the daily script will check also added packages. http://www.openbsd.org/cgi-bin/cvsweb/src/etc/security?rev=1.79&content-type=text/x-cvsweb-markup (hopefully the simpler diff will get in too, search the archives) -f -- when childhood dies, its corpses are called adults.
Re: when was a pkg installed !!!
On Nov 8, 2007 6:07 AM, Mike Erdely <[EMAIL PROTECTED]> wrote: > On Wed, Nov 07, 2007 at 11:43:14PM -0500, Jeremy Huiskamp wrote: > > You could hack pkg_add to write a log msg every time it completes an > > installation and just refer to the log for timestamps. > > If you're going to go through that much trouble, keep server change > logs. It's a good practice anyway. > I thought every admin did that? Greg -- Surrealism in the low desert: http://lodesertprotosites.org Dethink to survive - Mclusky
Re: when was a pkg installed !!!
On 11/7/07, Arnaud Bergeron <[EMAIL PROTECTED]> wrote: > stat -f"%Sc" /var/db/pkg/ > > should give you the change time of the inode. I am not exactly > certain if this will always correspond to the install time, but on my > machine, it does. only if you haven't added any dependencies after the initial installation.
Re: when was a pkg installed !!!
On Wed, Nov 07, 2007 at 11:43:14PM -0500, Jeremy Huiskamp wrote: > You could hack pkg_add to write a log msg every time it completes an > installation and just refer to the log for timestamps. If you're going to go through that much trouble, keep server change logs. It's a good practice anyway. -ME
Re: when was a pkg installed !!!
On 7-Nov-07, at 6:20 PM, badeguruji wrote: that is true. especially if you notice that installing one pkg install all the other it depends on. there has to be some way in pkg_info to reflect this info that: how and when was 'any' pkg installed? otherwise i would be disappointed. -BG You could hack pkg_add to write a log msg every time it completes an installation and just refer to the log for timestamps.
Re: when was a pkg installed !!!
2007/11/7, STeve Andre' <[EMAIL PROTECTED]>: > On Wednesday 07 November 2007 17:51:09 Matthias Kilian wrote: > > On Wed, Nov 07, 2007 at 05:16:53PM -0500, Josh Grosse wrote: > > > > i ran pkg_info with all common options but none tell me when > > > > was the pkg installed!!! > > > > > > $ ls -l /var/db/pkg/ > > > > No. Those files and directories are also touched when depending > > packages are installed or updated. > > OK, that makes sense. So can the addition date of a package be > determined? stat -f"%Sc" /var/db/pkg/ should give you the change time of the inode. I am not exactly certain if this will always correspond to the install time, but on my machine, it does. > --STeve Andre' > > -- La brigade SnW veut vous recruter - http://brigade.snw.googlepages.com
Re: when was a pkg installed !!!
On Wednesday 07 November 2007 17:51:09 Matthias Kilian wrote: > On Wed, Nov 07, 2007 at 05:16:53PM -0500, Josh Grosse wrote: > > > i ran pkg_info with all common options but none tell me when > > > was the pkg installed!!! > > > > $ ls -l /var/db/pkg/ > > No. Those files and directories are also touched when depending > packages are installed or updated. OK, that makes sense. So can the addition date of a package be determined? --STeve Andre'
Re: when was a pkg installed !!!
On 11/7/07, badeguruji <[EMAIL PROTECTED]> wrote: > that is true. especially if you notice that installing one pkg install all > the other it depends on. there has to be some way in pkg_info to reflect this > info that: how and when was 'any' pkg installed? otherwise i would be > disappointed. you will be disappointed.
Re: when was a pkg installed !!!
that is true. especially if you notice that installing one pkg install all the other it depends on. there has to be some way in pkg_info to reflect this info that: how and when was 'any' pkg installed? otherwise i would be disappointed. -BG ~~Kalyan-mastu~~ - Original Message From: Matthias Kilian <[EMAIL PROTECTED]> To: misc@openbsd.org; badeguruji <[EMAIL PROTECTED]> Sent: Wednesday, November 7, 2007 4:51:09 PM Subject: Re: when was a pkg installed !!! On Wed, Nov 07, 2007 at 05:16:53PM -0500, Josh Grosse wrote: > > i ran pkg_info with all common options but none tell me when > > was the pkg installed!!! > > $ ls -l /var/db/pkg/ No. Those files and directories are also touched when depending packages are installed or updated. -- MCSE - Microsoft Certified Spongiform Encephalitis -- Dominik Rudisch in dtj, 11.3.2001
Re: when was a pkg installed !!!
On Wed, Nov 07, 2007 at 11:51:09PM +0100, Matthias Kilian wrote: > No. Those files and directories are also touched when depending > packages are installed or updated. Thanks for the clarification!
Re: when was a pkg installed !!!
On Wed, Nov 07, 2007 at 05:16:53PM -0500, Josh Grosse wrote: > > i ran pkg_info with all common options but none tell me when > > was the pkg installed!!! > > $ ls -l /var/db/pkg/ No. Those files and directories are also touched when depending packages are installed or updated. -- MCSE - Microsoft Certified Spongiform Encephalitis -- Dominik Rudisch in dtj, 11.3.2001
Re: when was a pkg installed !!!
On Wed, Nov 07, 2007 at 12:40:21PM -0800, badeguruji wrote: > Hello, > > i ran pkg_info with all common options but none tell me when was the pkg > installed!!! $ ls -l /var/db/pkg/
when was a pkg installed !!!
Hello, i ran pkg_info with all common options but none tell me when was the pkg installed!!! can someone help? thx in advance. BG ~~Kalyan-mastu~~