Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com Date: Sun, 10 Apr 2005 16:08:59 -0400 (EDT) From: Igor Pechtchanski Reply-To: cygwin@cygwin.com To: fergus cc: cygwin@cygwin.com Subject: Re: Recovering /etc/setup/installed.db In-Reply-To: <1113162900.2464.5.camel@82-40-123-11.cable.ubr01.pert.blueyonder.co.uk> Message-ID: References: <1113162900.2464.5.camel@82-40-123-11.cable.ubr01.pert.blueyonder.co.uk> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 10 Apr 2005, fergus wrote: > Suppose I have a polished setup installation of a subset of the Cygwin > resource, and not necessarily the latest versions of things. I've lost > /etc/setup/installed.db which would provide all the details. Is there a > way I can recover it? I thought about trying to use cygcheck, > remembering the copious output from it; but I think cygcheck _uses_ > installed.db to provide this output, it can't be used to build it? > Fergus Cygcheck does indeed use /etc/setup/installed.db for its reports. One question: did you lose just /etc/setup/installed.db, or the whole /etc/setup directory? If the former, the .lst.gz files should show you *which* packages are installed, and you can probably recover the versions by correlating the contents with the contents of the archives (which, BTW, should be in your setup package cache directory). Another way is to look in /usr/share/doc/Cygwin (or /usr/doc/Cygwin for older packages) on your installation for the Cygwin-specific README files. Most packages have them, and most of those include either the full version (including the Cygwin release) or at least the full upstream version. The easiest way, however, is to look at the setup.log file from your "polished" installation (if that's available). Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha@cs.nyu.edu ZZZzz /,`.-'`' -. ;-;;,_ igor@watson.ibm.com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/