delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/03/10:35:37

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Tue, 3 Aug 2004 10:35:50 -0400
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: how to check what cygwin packages are installed on the system ?
Message-ID: <20040803143550.GA19703@trixie.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <313680C9A886D511A06000204840E1CF08F430B4 AT whq-msgusr-02 DOT pit DOT comms DOT marconi DOT com> <200408031119 DOT 56503 DOT gernot DOT hillier AT siemens DOT com> <20040803134644 DOT GF16002 AT trixie DOT casa DOT cgf DOT cx> <200408031627 DOT 14545 DOT gernot DOT hillier AT siemens DOT com>
Mime-Version: 1.0
In-Reply-To: <200408031627.14545.gernot.hillier@siemens.com>
User-Agent: Mutt/1.4.1i

On Tue, Aug 03, 2004 at 04:27:13PM +0200, Gernot Hillier wrote:
>Hi!
>
>Am Dienstag, 3. August 2004 15:46 schrieb Christopher Faylor:
>> On Tue, Aug 03, 2004 at 11:19:55AM +0200, Gernot Hillier wrote:
>> >Am Dienstag, 3. August 2004 11:09 schrieb Corinna Vinschen:
>> >>On Aug 3 04:57, Povolotsky, Alexander wrote:
>> >>>How to check what Cygwin packages are installed on the system ?
>> >>
>> >>cygcheck -c
>> >
>> >You can also have a look in /etc/setup.
>>
>> And you would do that rather than use the tool designed for providing
>> the information, because...?
>
>... I like to understand roughly how things work (w/o always having to read 
>the sources). 
>
>... I possibly want to remove the tool.
>
>... I want to double-check the output of the tool when it produces 
>inconsistent output or crashes.
>
>(... I didn't read the documentation about that) ;-)

You didn't need to read the documentation.  Corinna mentioned the
correct command.

In general, there is no reason to confuse people who are asking about
the proper way to do something by telling them about the low-level nuts
and bolts no matter how much the nuts and bolts may fascinate you
personally.

You might note that Corinna didn't point the OP to the cygcheck or
setup sources, although she is familiar with each.

>--> This was just thought as some sort of background information hint about 
>where this information is actually stored. Especially because it's stored 
>human-readable.

Again, there was really no clue that the OP needed or wanted anything
other than a pointer to the correct tool.  You can be assured that
cygcheck will always be able to display the current packages but the
location of /etc/setup and other details like that are subject to
change.  There's no reason to potentially confuse the OP or future
archive divers who are looking for information like this since we make
no guarantees that /etc/setup will always be there.

cgf

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

- Raw text -


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