public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Joel Breazeale <joel.breazeale@gmail.com>
To: cygwin@cygwin.com
Subject: Re: Package Install Date
Date: Thu, 09 Jun 2016 14:47:00 -0000	[thread overview]
Message-ID: <CALUJTM6im=96cu2oBc2UuzhBhkbEoGYV7YokvGuxPxrkZxb1_g@mail.gmail.com> (raw)
In-Reply-To: <1796655579.20160608224630@yandex.ru>

Andrey,

My goal is to build a list of all the installed packages in
chronological order.  With such a list I can see which package were
installed beyond the initial set.  The reason for this is to be able
to tell a colleague what to install to get their Cygwin configured
like mine so they can use tools I've created.

I was hoping a package install date/time would be provided by the
package management system.  Absent an official package install
date/time I'll take whatever I can scrounge up!  A stat of <package>
in /etc/setup/<package>.lst.gz gives me a "Birth" date/time which is
sufficient for my purposes.  For example:

$ pkginstalldate 2>/dev/null | sort
. . .
2016-05-24 13:28:27.839145400 -0500 xproto
2016-05-24 13:28:27.937145400 -0500 zlib-devel
2016-05-24 13:28:27.958145400 -0500 znc
2016-05-24 13:28:28.302145400 -0500 znc-perl
2016-05-25 08:52:38.208000000 -0500 m4
2016-05-26 11:07:30.588000000 -0500 vim
2016-05-26 11:07:30.692000000 -0500 vim-common
2016-05-26 11:07:33.714000000 -0500 xxd
2016-06-06 14:31:01.692765800 -0500 girepository-GdkPixbuf2.0
2016-06-06 14:31:01.708365700 -0500 girepository-Gst1.0
2016-06-06 14:31:01.724965600 -0500 girepository-GstInterfaces1.0
2016-06-06 14:31:01.803965100 -0500 libcroco0.6_3
2016-06-06 14:31:01.803965100 -0500 libfontconfig-common
2016-06-06 14:31:01.879364700 -0500 libfontconfig-devel
2016-06-06 14:31:01.911564500 -0500 libfontconfig1
2016-06-06 14:31:01.927164400 -0500 libgailutil18
2016-06-06 14:31:01.942764300 -0500 libgdk_pixbuf2.0-devel
2016-06-06 14:31:01.943764300 -0500 libgdk_pixbuf2.0_0
2016-06-06 14:31:02.263162400 -0500 libglib2.0-devel
2016-06-06 14:31:02.756159400 -0500 libglib2.0_0
2016-06-06 14:31:03.294556500 -0500 libgstinterfaces1.0_0
2016-06-06 14:31:03.356956100 -0500 libgstreamer1.0_0
2016-06-06 14:31:03.524955100 -0500 libgtk2.0-devel
2016-06-06 14:31:03.941952600 -0500 libgtk2.0_0
2016-06-06 14:31:04.804547500 -0500 libhdf5hl_10
2016-06-06 14:31:04.809547500 -0500 liborc0.4_0
2016-06-06 14:31:04.850747300 -0500 libpq5
2016-06-06 14:31:04.866347200 -0500 perl-B-Generate
2016-06-06 14:31:04.881947100 -0500 perl-Capture-Tiny
2016-06-06 14:31:04.897547000 -0500 perl-Config-Perl-V
2016-06-06 14:31:04.898547000 -0500 perl-ExtUtils-MakeMaker
2016-06-06 14:31:05.054346200 -0500 perl-HTTP-Tiny
2016-06-06 14:31:05.104145900 -0500 perl-List-AllUtils
2016-06-06 14:31:05.119745800 -0500 perl-List-MoreUtils
2016-06-06 14:31:05.152945600 -0500 perl-List-SomeUtils
2016-06-06 14:31:06.376138400 -0500 unzip

The above helps me to remember I installed m4, vim and unzip beyond my
initial setup.

[I use /dev/null because of libpopt0 as mentioned in earlier
discussion.  I haven't quite gotten to the point where I feel
comfortable ignoring the error generated for it.]

--Joel

On Wed, Jun 8, 2016 at 2:46 PM, Andrey Repin <anrdaemon@yandex.ru> wrote:
> Greetings, Joel Breazeale!
>
>> I am looking for a clean way to determine the install date/time for a
>> Cygwin package.  I have a hack that suffices, just want to see what
>> alternatives exist.  Thanks!
>
> How do you define this "install date" ?
> The very first installation of any Cygwin package?
> %CYGROOT%/var/log/setup.log may contain this information.
> Or may not.
>
>
> --
> With best regards,
> Andrey Repin
> Wednesday, June 8, 2016 22:43:45
>
> Sorry for my terrible english...
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  parent reply	other threads:[~2016-06-09 14:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-08 19:25 Joel Breazeale
2016-06-08 19:50 ` Achim Gratz
2016-06-08 21:29   ` Joel Breazeale
2016-06-08 22:09     ` Ken Brown
2023-09-13 17:57       ` Joel Breazeale
     [not found] ` <1796655579.20160608224630@yandex.ru>
2016-06-09 14:47   ` Joel Breazeale [this message]
2016-06-09 19:22     ` Achim Gratz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CALUJTM6im=96cu2oBc2UuzhBhkbEoGYV7YokvGuxPxrkZxb1_g@mail.gmail.com' \
    --to=joel.breazeale@gmail.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).