Check if a package is installed

Larry Hall (Cygwin) reply-to-list-only-lh@cygwin.com
Wed Oct 3 23:05:00 GMT 2012


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



More information about the Cygwin mailing list