[PATCH] Checking integrity of installed packages in cygcheck

Christopher Faylor cgf@redhat.com
Sun Aug 10 00:12:00 GMT 2003

On Sat, Aug 09, 2003 at 08:07:33PM -0400, Christopher Faylor wrote:
>On Sat, Aug 09, 2003 at 03:59:00PM -0400, Igor Pechtchanski wrote:
>>On Sat, 9 Aug 2003, Christopher Faylor wrote:
>>> [snip]
>>> Btw, have you considered some kind of rpm -f functionality?  That would
>>> allow a user to do a:
>>> cygcheck -f /usr/bin/ls.exe
>>> fileutils-4.1-2
>>> Also some kind of functionality which would allow cygcheck to query
>>> the same files as the web search would be really cool.  Something like
>>> a:
>>> cygcheck --whatprovides /usr/bin/ls.exe
>>> would be really useful.
>>I'm not sure I see the difference between the two cases above.
>-f checks the installed database in /etc/setup/package.lst.gz (similar
>to rpm -f), --whatprovides checks the "database" on sources.redhat.com
>(similar to Red Hat's up2date?).  That's what I meant by "the same files
>as the web search".
>I don't see why -f wouldn't be relatively trivial to do since we know
>have code in cygcheck which uncompresses and opens each of the package
>files.  --whatprovides would require a net query, of course.  That would
>be more complicated.


More information about the Cygwin-patches mailing list