delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/11/08/11:20: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://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_collector AT telia DOT com>
To: "Mark Blackburn" <marklist AT fangorn DOT ca>, <cygwin AT cygwin DOT com>,
<cygwin-apps AT cygwin DOT com>
Subject: RE: problem with lftp 2.6.8-1 postinstall script
Date: Sat, 8 Nov 2003 17:18:49 +0100
Message-ID: <NGBBLLIAMFLGJEOAJCCEKEBIDGAA.garbage_collector@telia.com>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <3FAC8B25.5000702@fangorn.ca>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Importance: Normal

> From: Mark Blackburn
> Sent: Saturday, November 08, 2003 7:20 AM

> I apologize for the trouble this is causing people. I'm looking into
> this problem now.
> I didn't test the install with setup. I just ran my postinstall script
> by hand to test it. I don't know why installing with setup is having
> this effect.
>
> For now I suggest that no one installs the lftp-2.6.8 package.
>
> I also ask that this package be removed from the cygwin.com ftp server
> until I can package a 2.6.8-2 version.
>
> Mark Blackburn

The problems is:
 lfpt.sh expects to have a console around, a user and keyboard attached. But
this isn't the case for postinstall scripts when they get run from setup.

to get rid of the problem fast:

$ diff -up lftp.sh.original lftp.sh.done
--- lftp.sh.original    2003-11-07 20:42:56.000000000 +0100
+++ lftp.sh.done        2003-11-07 20:54:06.000000000 +0100
@@ -34,6 +34,7 @@ request()
 }

 # Check if lftp.conf exists. If yes, ask for overwriting
+export auto_answer="no"

 if [ -f "${SYSCONFDIR}/lftp.conf" ]
 then


/Hannu E K Nevalainen, B.Sc. EE - 59?16.37'N, 17?12.60'E
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--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