delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2002/06/18/11:25:13

Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm
Sender: cygwin-apps-owner AT cygwin DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT cygwin DOT com>
List-Help: <mailto:cygwin-apps-help AT cygwin DOT com>, <http://sources.redhat.com/lists.html#faqs>
Mail-Followup-To: cygwin-apps AT cygwin DOT com
Delivered-To: mailing list cygwin-apps AT cygwin DOT com
Date: Tue, 18 Jun 2002 17:20:36 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <12979091098.20020618172036@familiehaase.de>
To: Stipe Tolj <tolj AT wapme-systems DOT de>
CC: cygwin-apps AT cygwin DOT com
Subject: Re: Apache -5 install clobbers /etc/apache files
In-Reply-To: <3D0F4A90.1730839A@wapme-systems.de>
References: <174868800669 DOT 20020617104226 AT familiehaase DOT de>
<51871816165 DOT 20020617113241 AT familiehaase DOT de> <3D0E114A DOT 9040004 AT ece DOT gatech DOT edu>
<3D0F4A90 DOT 1730839A AT wapme-systems DOT de>
MIME-Version: 1.0

Stipe schrieb:

> Charles Wilson wrote:
>> 
>> Gerrit P. Haase wrote:
>> 
>> >>All my files in /etc/apache (besides httpd.conf~) were clobbered
>> >>when installing 1.13.24-5 over 1.13.24-1.  How can this happen???
>> >>
>> >
>> > To be exact, the -1 version removed it during uninstall.
>> > Well, shit happens....
>> 
>> No, this is a packaging *error*.  Packages (like apache) should NOT
>> install configuration files, for precisely this reason.  They should
>> install "default" files, and then cp them IFF the "real" file doesn't
>> exist.

> ok, blame on me! -- I wasn't aware of the uninstall removal, s**t!
                                                              ^^^^^^
                                                      This is not
                                                      allowed.

> re-packaging to -6.

No, I think this is already fixed!  I still used -1 release and there
was the error, this release isn't available anymore, in the later releases
it may be correct, well I'm not sure about it haven't uninstalled -5 yet;)

But it happens for me when setup uninstalled the -1 release.

Now (-5) the postinstall script looks if there is already
a directory (/etc/apache) and if so if moves all to /etc/apache-new.
However, I don't know what happens if I use setup now to uninstall
the latest release.  Next time I'll do a backup before installing:-)


Gerrit
-- 
=^..^=

- Raw text -


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