Re: Check if a package is installed

2012-10-04 Thread Vincent Rivière
if the list of files is missing. Sure. So I will continue to just test the presence of the .lst.gz to check if a package is installed: - missing: not correctly installed - present: installed (correctly or corrupted) -- Vincent Rivière -- Problem reports: http://cygwin.com/problems.html

Re: Check if a package is installed

2012-10-03 Thread Vincent Rivière
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

Re: Check if a package is installed

2012-10-03 Thread Larry Hall (Cygwin)
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

Check if a package is installed

2012-10-01 Thread Vincent Rivière
Hello. I would like to know how to reliably test if a Cygwin package is already installed (just like setup.exe does). Currently, I test the existence of /etc/setup/package.lst.gz. It works perfectly for me, but a user reported to me that that file was missing sometimes. I see there is

Re: Check if a package is installed

2012-10-01 Thread marco atzeri
On 10/1/2012 1:03 PM, Vincent Rivière wrote: Hello. I would like to know how to reliably test if a Cygwin package is already installed (just like setup.exe does). Currently, I test the existence of /etc/setup/package.lst.gz. It works perfectly for me, but a user reported to me that that file

Re: Check if a package is installed

2012-10-01 Thread Vincent Rivière
On 01/10/2012 13:24, marco atzeri wrote: cygcheck -c package Thanks, this is what I looked for. However, I notice that: 1) If the .lst.gz file is missing, cygcheck -c package still reports OK. 2) When testing a missing package, cygcheck -c package does not output any status line, but its

Re: Check if a package is installed

2012-10-01 Thread marco atzeri
On 10/1/2012 1:38 PM, Vincent Rivière wrote: On 01/10/2012 13:24, marco atzeri wrote: cygcheck -c package Thanks, this is what I looked for. However, I notice that: 1) If the .lst.gz file is missing, cygcheck -c package still reports OK. a package with a missing .lst.gz , should be a