X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=3.1 required=5.0	tests=AWL,BAYES_50,BOTNET,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE,TW_YG
X-Spam-Check-By: sourceware.org
MIME-version: 1.0
Content-transfer-encoding: 8BIT
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Message-id: <506CC4B3.4060606@cygwin.com>
Date: Wed, 03 Oct 2012 19:05:23 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
To: cygwin@cygwin.com
Subject: Re: Check if a package is installed
References: <50697891.7030200@freesbee.fr> <50697D8B.6070903@gmail.com> <506CB5E2.3010206@freesbee.fr>
In-reply-to: <506CB5E2.3010206@freesbee.fr>
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

On 10/3/2012 6:02 PM, Vincent Rivière wrote:
> On 01/10/2012 13:24, marco atzeri wrote:
>> cygcheck -c <package>
>
> I wonder how much "cygcheck -c" is reliable.
>
> For example, the libmpfr4 package.
> I delete /bin/cygmpfr-4.dll and /etc/setup/libmpfr4.lst.gz
>
> As a result, I can't compile sources with gcc anymore due to the missing
> cygmpfr-4.dll.
>
> But "cygcheck -c libmpfr4" still indicates OK...
>

Well it has to use something to validate the package.  The data it
uses is the list of files in the .lst.gz file you deleted.  So it
can't do allot of validating without that metadata.  But I suppose
it would make sense to not return "OK" if the list of files is
missing.

-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

--
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

