SUGGESTION wrt preremove / postinstall / preinstall (RE: [FAQ] Packages reported as "Incomplete" by "cygcheck -c")

Hannu E K Nevalainen (garbage mail) garbage_collector@telia.com
Sun Sep 21 22:51:00 GMT 2003


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



More information about the Cygwin mailing list