delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2016/06/09/10:48:16

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; q=dns; s=default; b=PBOQb6O
i435GB5o42Vfud5LXfCJeOPrmtA/G81uuSquGcmJLqCOb0D+bMtJZhAqFVgLZOJG
M+AxIR2d17qr4CFq/t6IX1bxWL6f/1ikYi+T+FDQw7fnOLJiS+pMGliyk/J4QeyG
//eMPjcQrIBYV+morh+NjLEPJt/OVYcTu8QM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:mime-version:in-reply-to:references:from:date
:message-id:subject:to:content-type; s=default; bh=Nbtv+pjvoHohG
4nbBBO2AX9VPHY=; b=FNruD49J++xAiBqvFBjGi6gbPKTlgBrp+YR3q+2fjoEgY
KjTK2I/Cttl64j4/0lLzQ6u8pRMQrh2lbz5JY7YKT3xEpWS1Um67Y65jf2s4UZAY
TP4sEl2R8JTtoVA9KeLq5G8Q/SXSTVNrCPuVMYNleyZjtZwHdzFkjI2afqLLN8=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=3.9 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPAM_SUBJECT1,SPF_PASS autolearn=no version=3.3.2 spammy=Breazeale, breazeale, UD:lst.gz, libpopt0
X-HELO: mail-oi0-f52.google.com
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=i5Aqr5BNXIQbPqcNI4RejVVPyixhhRW3zo5rR2tHBIk=; b=FELkePLhLf3uluz1KPl2fNRaf8/A0ZvmMbz/kDvCpPIOjfdL1Yy2rnuK2REVwY7LtO XPqjilfDFlhG73911t9EiG5XBETFoYH0Yob9wymH3N8qDWMB3MCI+L/EFEPoDVQymkMO zO3sOFF9rbZeAS0mtVORH8xPM+RB+eWXcLjrNLWNla7hG6jzlB3gGkU/719p+Zxyt/Ss rdQ2InFDYcKavTnKDuX2XGDUEJ5UOCx1jrLEGBaMNV51vpFmye5gypJu830xO0L7B3rZ vX1Z9xtX5RSv7I4KJL3i1Fy0oRCcTLytXSNiHgqmsx7fpv1eNkNg0rhRnP/oEEi31spC yHAQ==
X-Gm-Message-State: ALyK8tJVSav+OaKGXtJdE8NShtqhnd18/jBMEqUfGA/+tkZtLlk7BEX8pbl5JIEETjR4YA0ViWhJSqN3qexQ9g==
X-Received: by 10.157.27.212 with SMTP id v20mr5891489otv.82.1465483664052; Thu, 09 Jun 2016 07:47:44 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <1796655579.20160608224630@yandex.ru>
References: <CALUJTM52TGw7xVJY1FHKLYfUELxmOxR3pHC62Hso6FbxckxDCg AT mail DOT gmail DOT com> <1796655579 DOT 20160608224630 AT yandex DOT ru>
From: Joel Breazeale <joel DOT breazeale AT gmail DOT com>
Date: Thu, 9 Jun 2016 09:47:43 -0500
Message-ID: <CALUJTM6im=96cu2oBc2UuzhBhkbEoGYV7YokvGuxPxrkZxb1_g@mail.gmail.com>
Subject: Re: Package Install Date
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes

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 AT yandex DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019