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 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: 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: List-Subscribe: List-Archive: List-Post: List-Help: , 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 > > 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