www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/10/25/20:29:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <4AE4FB6F.8070604@columbus.rr.com>
Date: Sun, 25 Oct 2009 21:29:19 -0400
From: Paul McFerrin <pmcferrin AT columbus DOT rr DOT com>
Reply-To: Paul McFerrin <pmcferrin AT columbus DOT rr DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: cygcheck -cd : No setup information
References: <4AE39DD9 DOT 3050108 AT columbus DOT rr DOT com> <4AE45B85 DOT 8090104 AT gmail DOT com> <4AE4886B DOT 4030703 AT columbus DOT rr DOT com>
In-Reply-To: <4AE4886B.4030703@columbus.rr.com>
X-IsSubscribed: yes
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

Well, in end the something changed and cygcheck is working again

I download the "cygwin" sources and rebuilt the whole source tree.  Once 
confident that cygcheck.exe built, I then modified dump_setup.cc and 
slightly modified the 3 possible error messages I was seeing.  This way 
I can know which one was printing.  Then rebuilt.

When I started testing, I realized that I was picking up the installed 
version in /bin.  It started working again without me making any changes.

Since I did however downloaded the sources, the following files were 
touched:

-rw-r--r-- 1 paul root   301 Oct 25 16:59 base-files.lst.gz
-rw-r--r-- 1 paul root 15528 Oct 25 17:02 installed.db
-rwxrwxrwx 1 paul None    42 Oct 25 17:02 last-mirror
-rwxrwxrwx 1 paul None     0 Oct 25 17:02 last-extrakeys
-rwxrwxrwx 1 paul None     7 Oct 25 17:02 last-connection
-rwxrwxrwx 1 paul None    19 Oct 25 17:02 last-cache
-rwxrwxrwx 1 paul None    17 Oct 25 17:02 last-action

So just by downloading something, the problem went away  (Humm).  I 
can't explain this or reproduce it anymore


Paul McFerrin wrote:
> Here is my ENTIRE chgcheck -c output:
> $ cygcheck -c
> Cygwin Package Information
> No setup information found
>
> The -s option does provide system information but without the package 
> info but at the end, I get the following:
> Cygwin Package Information
> No setup information found
> Use -h to see help about each section
> 'id' program not found
> 'id' program not found
> /etc/setup.$ type id
> id is /bin/id
> $ id
> uid=1003(paul) gid=513(None) 
> groups=0(root),544(Administrators),545(Users),1005(AcronisBackupServerUsers),513(None),544(Administrators),545(Users),1005(AcronisBackupServerUsers),513(None) 
>
>
> The installed.db contains 414 records including the following:
>    INSTALLED.DB 2
>    base-cygwin base-cygwin-2.0-1.tar.bz2 0
>    cygwin cygwin-1.7.0-62.tar.bz2 0
>    cygwin-doc cygwin-doc-1.5-1.tar.bz2 0
>
> Now if we can only have better clues as to what is wrong.  The error 
> message "No setup information found" is not a very helpful clue.
> The same error as my fresh install on cygwin onto my USB Flash drive.
>
>
> Dave Korn wrote:
>> Paul McFerrin wrote:
>>
>>  
>>> What setup information is chgcheck looking for?  File
>>> /etc/setup/installed.db is present.      
>>
>>   That's where it ought to be looking.  Does it contain a line with 
>> the cygwin
>> version?  Has something gone wrong with the mount points?  What do 
>> you see
>> when you run a plain "cygcheck -cd" without grepping it all away, is 
>> there a
>> package list at all or not?
>>
>>     cheers,
>>       DaveK
>>
>> -- 
>> 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
>>
>>
>>   
>
> -- 
> 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
>
>

--
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