This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: cygcheck -cd : No setup information


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]