delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/04/10/16:09:10

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Sun, 10 Apr 2005 16:08:59 -0400 (EDT)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: fergus <fergus AT bonhard DOT uklinux DOT net>
cc: cygwin AT cygwin DOT 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: <Pine.GSO.4.61.0504101602250.3740@slinky.cs.nyu.edu>
References: <1113162900 DOT 2464 DOT 5 DOT camel AT 82-40-123-11 DOT cable DOT ubr01 DOT pert DOT blueyonder DOT co DOT uk>
MIME-Version: 1.0

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 AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019