delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/03/19:05:48

X-Recipient: archive-cygwin AT delorie DOT 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
Message-id: <506CC4B3.4060606@cygwin.com>
Date: Wed, 03 Oct 2012 19:05:23 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh AT cygwin DOT com>
Reply-to: cygwin AT cygwin DOT com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
To: cygwin AT cygwin DOT com
Subject: Re: Check if a package is installed
References: <50697891 DOT 7030200 AT freesbee DOT fr> <50697D8B DOT 6070903 AT gmail DOT com> <506CB5E2 DOT 3010206 AT freesbee DOT fr>
In-reply-to: <506CB5E2.3010206@freesbee.fr>
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

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

- Raw text -


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