X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=tvJRWTyeoQFggb66
	AYYck60hD0HMpps1uwKgsS8BBhjgKipBjz7ud/je8xWAJCTDKSj8imZLiWiJFRhu
	KYg9w+xEFeOWaAjAuvY/9o8KEXadJzO5RwwHyg+6DwcSmJRO8PQC4QXC5TgC+5N8
	AhIsgOir04xeHE038W65OMB31nM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:to:references:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=5BS4dja/BfL1Dgqe7uDtag
	qvUm4=; b=sdKDTu5ZucWNFGxdGGJeTiL26epYbbYpa2P6tOazbQr+zB1tftNa09
	CwLIVHsLpSKN5YmIxtzW2TssArEWFe34F5SoFzrDi0S/mQ4dn7m7J/zgleIskYbV
	iOgp1h3JeUj0oSxMco9WfyQhaBmSMaN8LF+ydMz22JcjsSo6Dyfuc=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 spammy=penny, HContent-Transfer-Encoding:8bit
X-HELO: limerock01.mail.cornell.edu
X-CornellRouted: This message has been Routed already.
Subject: Re: texlive-collection-basic requires Perl to be removed
To: cygwin@cygwin.com
References: <5ab46201.1c69fb81.cf3e2.269f@mx.google.com>
From: Ken Brown <kbrown@cornell.edu>
Message-ID: <7b74d6df-abec-839b-fc70-5c7f1bcb9321@cornell.edu>
Date: Fri, 23 Mar 2018 08:20:10 -0400
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <5ab46201.1c69fb81.cf3e2.269f@mx.google.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
X-PMX-Cornell-Gauge: Gauge=XXXXX
X-PMX-CORNELL-AUTH-RESULTS: dkim-out=none;
X-IsSubscribed: yes

On 3/22/2018 10:10 PM, Steven Penny wrote:
> This package contains this file:
> 
>     /etc/preremove/texlive-collection-basic.sh
> 
> which in turn calls:
> 
>     /usr/libexec/update_tlpdb
> 
> which is a Perl script. I understand that "texlive-collection-basic" 
> requires
> "perl_base", but if a user removed Perl first then uninstallation of 
> texlive
> would fail. Perhaps "update_tlpdb" could be rewritten as a shell script.

Failure of a preremove script doesn't cause uninstallation to fail.

In any case, update_tlpdb is the tip of the iceberg.  The preremove 
script also calls (indirectly) the Perl scripts 
/usr/share/texmf-dist/scripts/texlive/updmap.pl and 
/usr/share/texmf-dist/scripts/texlive/fmtutil.pl.

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

