delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/09/21/18:26:38

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
From: "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector AT telia DOT com>
To: <cygwin AT cygwin DOT com>
Subject: SUGGESTION wrt preremove / postinstall / preinstall (RE: [FAQ] Packages reported as "Incomplete" by "cygcheck -c")
Date: Mon, 22 Sep 2003 00:26:11 +0200
Message-ID: <NGBBLLIAMFLGJEOAJCCEIEGCDEAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
Importance: Normal
In-Reply-To: <Pine.GSO.4.56.0309151259140.12411@slinky.cs.nyu.edu>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165

> From: Igor Pechtchanski
> Sent: Monday, September 15, 2003 7:18 PM

<SNIP>
> Q: Why are "apache" and "mod_*" packages reported as "Incomplete"?
> A: The "apache" and "mod_*" packages use a postinstall script that renames
>    an originally installed directory.  Therefore, that directory is not
>    found by "cygcheck -c".  Suggestions on how to deal with this are
>    welcome (patches doubly so ;-)).

Suggestion:
  post/preinstall scripts that MOVE or RENAME files must "retain the
filename"
i.e.

	$ mv prev-name new-name
	$ ln -s prev-name new-name

  preremove script:

	$ rm prev-name
	$ rm new-name

Would this work?
Could at least be a "interrim solution", don't you think?

Is it possible to list (add) a filename in the archive in some way? (HOW?)

/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- UTC+01, DST -> UTC+02  --
--END OF MESSAGE--


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